Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated documentation wrt ejs exclusion #2633

Merged
merged 2 commits into from Jan 3, 2018

Conversation

aaronfullerton
Copy link
Contributor

Updated the documentation to indicate the need to exclude the .ejs file extension from webpack file loaders. #2615

How to test

N/A

@codecov
Copy link

codecov bot commented Jan 3, 2018

Codecov Report

Merging #2633 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2633   +/-   ##
=======================================
  Coverage   32.65%   32.65%           
=======================================
  Files         398      398           
  Lines        8868     8868           
  Branches      942      950    +8     
=======================================
  Hits         2896     2896           
+ Misses       5336     5313   -23     
- Partials      636      659   +23
Impacted Files Coverage Δ
app/vue/src/server/utils.js 0% <0%> (-53.58%) ⬇️
addons/knobs/src/angular/utils.js 0% <0%> (ø) ⬆️
lib/ui/src/modules/ui/configs/init_panels.js 25% <0%> (ø) ⬆️
lib/ui/src/libs/key_events.js 40% <0%> (ø) ⬆️
.../ui/src/modules/ui/components/layout/dimensions.js 15.62% <0%> (ø) ⬆️
lib/components/src/table/table.js 83.33% <0%> (ø) ⬆️
addons/viewport/src/components/SelectViewport.js 15% <0%> (ø) ⬆️
lib/ui/src/modules/ui/components/search_box.js 36.36% <0%> (ø) ⬆️
addons/actions/src/lib/util/typeReviver.js 71.42% <0%> (ø) ⬆️
lib/ui/src/modules/ui/routes.js 0% <0%> (ø) ⬆️
... and 41 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b83d89a...52612e7. Read the comment docs.

@@ -87,6 +87,8 @@ Storybook uses the config returned from the above function. So, try to edit the
- first loader in the module.loaders (Babel loader for JS)
- all existing plugins

> If your custom webpack config uses a fallback `file-loader`, it is necessary to exclude the `.ejs` file extension.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather say, if your config uses some loader without explicitly specifying applicable extentions via test option

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, makes sense. I updated the wording.

@Hypnosphi
Copy link
Member

Hypnosphi commented Jan 3, 2018

Thanks @aaronfullerton!

@Hypnosphi Hypnosphi merged commit b1accc7 into storybookjs:master Jan 3, 2018
Hypnosphi added a commit that referenced this pull request Feb 12, 2018
Updated documentation wrt ejs exclusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants