webpack-starter icon indicating copy to clipboard operation
webpack-starter copied to clipboard

Upgrade webpack to version 4

Open jsparedes opened this issue 6 years ago • 3 comments

To upgrade the webpack starter (#13). Webpack v4 works with mini-css-extract-plugin instead of extract-text-webpack-plugin

image

jsparedes avatar Jan 09 '19 17:01 jsparedes

Any updates on this?

SuperSarkar avatar Feb 10 '19 07:02 SuperSarkar

I think the master branch is already updated for webpack 4 if I'm not mistaken?

https://github.com/tailwindcss/webpack-starter/blob/master/package.json

adamwathan avatar Feb 26 '19 13:02 adamwathan

I think the master branch is already updated for webpack 4 if I'm not mistaken?

https://github.com/tailwindcss/webpack-starter/blob/master/package.json

You are right, it is updated with webpack v4 but using extract-text-webpack-plugin

And according to webpack:

Since webpack v4 the extract-text-webpack-plugin should not be used for css. Use mini-css-extract-plugin instead

Maybe the pull request title should be: webpack v4 starter with mini-css-extract-plugin

Finally, thanks for your amazing work in tailwindcss. I will try the v1.0.0-beta.3

jsparedes avatar Mar 27 '19 22:03 jsparedes