Errors with ExtractTextPlugin and MiniCssExtractPlugin
See original GitHub issueHello,
We have 2 projects, the first one is using webpack 3 with ExtractTextPlugin and the second is using webpack 4 with MiniCssExtractPlugin.
In both of these projects, we have a lot of errors like this one :
Error: WebpackRequireFrom: 'getChunkURL' is not a function or not available at runtime. See https://github.com/agoldis/webpack-require-from#troubleshooting
at Function.get [as p] (H:\project\node_modules\css-loader\index.js!H:\project\node_modules\less-loader\dist\cjs.js??ref--10-2!H:\project\no
de_modules\dep\example.less:67:21)
Hopefully, everything is working but the log is now quite annoying to read… It seems that the webpack-require-from plugin is going through our CSS chunks. Is it possible to ignore these chunks ? If not, can you consider the possibility to add an option to filter chunks ?
Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
WebPack 4 should use "mini-css-extract-plugin" instead of ...
WebPack 4 should use "mini-css-extract-plugin" instead of ... Why separate? The Tapable.plugin error is because of ExtractTextPlugin ...
Read more >Webpack 4 mini-css-extract-plugin error: You may need an ...
new to webpack, Trying to export scss file to css using mini-css-extract-plugin with no success, I get this error: ERROR in .
Read more >MiniCssExtractPlugin - webpack
It supports On-Demand-Loading of CSS and SourceMaps. It builds on top of a new webpack v5 feature and requires webpack 5 to work....
Read more >mini-css-extract-plugin - npm
extracts CSS into separate files. Latest version: 2.7.2, last published: a month ago. Start using mini-css-extract-plugin in your project by ...
Read more >mini-css-extract-plugin-async - npm package - Snyk
Learn more about mini-css-extract-plugin-async: package health score, ... No known security issues ... Compared to the extract-text-webpack-plugin:.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, thank you very much for your quick answer!
here is an example of code reproducing the problem: https://github.com/bee-po/webpack-require-from-issue-9
Seems like suppressing errors logging is good enough for now. Closing, please reopen if needed.