Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Not working with webpack 4 #801

Closed
rvarbanov opened this issue Aug 17, 2018 · 4 comments
Closed

Not working with webpack 4 #801

rvarbanov opened this issue Aug 17, 2018 · 4 comments

Comments

@rvarbanov
Copy link

I updated my webpack to version 4 and extract-text-webpack-plugin no longer works.

@montogeek
Copy link

montogeek commented Aug 17, 2018

Use https://github.com/webpack-contrib/mini-css-extract-plugin if you are using it for CSS, otherwise this is impossible to resolve since you don't say anything about why it doesn't work.

@montogeek
Copy link

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

@amerllica
Copy link

amerllica commented Aug 24, 2018

The extract-text-webpack-plugin toward Webpack 4 doesn't work. it means when Webpack is run for building or developing, it falls in error. I saw that a few months ago and switch to Webpack 3.11.0.

I build a repository for this issue, my codes are so minimal and you can reach to error just with below codes:

 yarn install && yarn dev

Or:

 yarn install && yarn build

Please see this reproduction and leave an idea to settle it. thanks @montogeek

Also, I know this issue will settle by installing next extract-text-webpack-plugin:

 yarn add -dev extract-text-webpack-plugin@next

@jackwilsdon
Copy link

This seems to be a duplicate of #701, take a look there for a bigger discussion on this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants