Update extract text plugin version [WebPack2]
See original GitHub issueHi,
In extract-svg-plugin.js, the syntaxe of extract-text-webpack-plugin is deprecated :
this.extractPlugin = new ExtractPlugin(this.id, this.filename, this.options);
should be something like :
this.extractPlugin = new ExtractPlugin({ filename: this.filename, id: this.id});
There might be other changes as it’s not enough to make this work again.
Thanks a lot.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
extract-text-webpack-plugin - npm
Extract text from bundle into a file.. Latest version: 3.0.2, last published: 5 years ago. Start using extract-text-webpack-plugin in your ...
Read more >ExtractTextWebpackPlugin | webpack
ExtractTextWebpackPlugin. Extract text from a bundle, or bundles, into a separate file. Install. npm install ...
Read more >README.md - GitHub
[DEPRECATED] Please use https://github.com/webpack-contrib/mini-css-extract-plugin Extracts text from a bundle into a separate file - GitHub ...
Read more >extract-text-webpack-plugin replacement in webpack 5
I'm working on the project upgrading from webpack 3 to webpack 5. In the project, it was using raw-loader and extract-text-webpack-plugin to ...
Read more >extract-text-webpack-plugin - npm package - Snyk
An important project maintenance signal to consider for extract-text-webpack-plugin is that it hasn't seen any new versions released to npm in the past...
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 FreeTop 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
Top GitHub Comments
@kisenka I made sample repo with test:
@kisenka Thanks for fixing. Now extracting working well. But one problem still exists.
ExtractSVGPlugin
outputs[object Object]
as id.