-
Notifications
You must be signed in to change notification settings - Fork 49
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
Extracting css/scss on build time #18
Comments
As the error mentions, the You can check their docs for additional information. |
@hugmanrique , as can be seen in the attached code I am using |
Whoops! Sorry I missed that. Have you tried passing the |
Hi @nirbenya - can you try with the latest update I just published? Cheers. |
@developit , thanks a lot but it still doesn't work. it throws the same error, I'll add this html file output as well, maybe it can help:
|
Perhaps we need to whitelist ExtractTextPlugin here like we do for MiniCssExtractPlugin? Line 104 in 317993c
|
@developit I published a PR on this. |
[FEAT] allow extracting css with ExtractTextPlugin (#18)
@developit it this version published to npm? |
Hi, the prerender-loader works fine for me except when it comes to css.
In my index.js:
import './style.scss
But when I run the build I get this error:
ERROR in ./web-assets/scss/style.scss Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
webpack.prod.config:
The text was updated successfully, but these errors were encountered: