Closed
Description
Briefly describe the issue you are experiencing (or the feature you want to see
added to the plugin). Tell us what you were trying to do and what happened
instead. Remember, this is not a place to ask questions. For that, go to
http://gitter.im/postcss/postcss
Details
Trying to use postcss-loader
with [email protected]
(webpack/webpack#6064).
Error (Logs|Stacks)
The main error seems to be Module build failed: TypeError: loader._compilation.applyPluginsWaterfall is not a function
.
ERROR in D:/work/angular/aio/node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!D:/work/angular/aio/node_modules/postcss-loader?{"ident":"postcss","sourceMap":false}!D:/work/angular/aio/node_modules/sass-loader/lib/loader.js?{"sourceMap":false,"precision":8,"includePaths":[]}!D:/work/angular/aio/src/styles.scss
Module build failed: TypeError: loader._compilation.applyPluginsWaterfall is not a function
at D:\work\angular\aio\node_modules\postcss-loader\index.js:122:43
at <anonymous>
@ D:/work/angular/aio/src/styles.scss 4:14-189
@ multi D:/work/angular/aio/src/styles.scss
Reproduction [Code]
I think this happens whenever postcss-loader
is used with Webpack 4, but if you think that's not the case and need to zone in on the issue let me know and I will make a repro.
Environment
Please provide information about your environment.
OS | node | npm | PostCSS |
---|---|---|---|
Windows 10 | 8.9.1 | 5.6.0 | 2.0.8 |