-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Ignoring markdown files #1571
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
Comments
Hi @apennell, Which version of Webpacker are you using? You shouldn't need two different configurations of the In the current stable version (3.5.3), The three steps to ignoring all Markdown files ending in
|
Thanks @gj ! That's the best config help response I've ever gotten--changed the regex as you outlined, removed the We're currently on [email protected], so will look into updating soon. Thanks again! |
I'm having trouble ignoring markdown files while compiling. I'm using [React Styleguidist] within my Rails + React app to build and document a component library, which means I have .md files in the directories with my components that Webpack is compiling. I'm getting this error when running
webpack-dev-server
:I've tried making various changes to my Webpack/Webpacker configuration, largely based on issue #322.
ignore-loader
and tried creatingconfig/webpack/loaders/md.js
andconfig/webpack/loaders/ignores.js
and added to each:loader
line only, theexclude
block only, and with both together, but none workedconfig/webpack/environment.js
, which I didn't have, so I added that file with the above code in itIs there something else I can do in my config to ignore the markdown files when webpack compiles? It's only a warning and doesn't break my code, but I don't want that warning to show always and forever :/
The text was updated successfully, but these errors were encountered: