3.3.2 includes breaking change
- Operating System: MacOS
- Node Version: 6.9.1
- NPM Version: 3.10.8
- webpack Version: 1
- css-loader Version: 3.3.2
Expected Behavior
We were using css-loader 3.3.0 without issue. Our integration/prod builds started breaking this morning with the following error.
09:11:58 ERROR in ./resources/assets/js/components/FormWalletPayButton.vue?vue&type=style&index=0&id=7d35c126&scoped=true&lang=scss& (./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/string-replace-webpack-plugin/loader.js?id=qga2ymzgxhwlw65jyga6k1emi!./resources/assets/js/components/FormWalletPayButton.vue?vue&type=style&index=0&id=7d35c126&scoped=true&lang=scss&) 09:11:58 Module build failed (from ./node_modules/css-loader/dist/cjs.js): 09:11:58 /node_modules/css-loader/dist/plugins/postcss-icss-parser.js:34 09:11:58 accumulator[normalizedUrl] = { ...accumulator[normalizedUrl], 09:11:58 ^^^ 09:11:58 SyntaxError: Unexpected token ...
(same here)
Also experiencing the same behaviour on Windows 10, node 12.13.1. Pinning to css-loader @ 3.3.0 fixes the behavior.
I see same behavior on RHEL 7, node 6.13.1. I had to pin css-loader version to 3.2.0.
It is not breaking change, please look at here https://github.com/webpack-contrib/css-loader/blob/master/package.json#L12, update your node version to 8
I am having the same issue. @zechdc .. did you get any solution?
We just downgraded to 3.3.0. Doubt we will try to fix it.
On Mon, Dec 23, 2019 at 12:18 PM Hima Chitalia [email protected] wrote:
I am having the same issue. @zechdc https://github.com/zechdc .. did you get any solution?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/webpack-contrib/css-loader/issues/1019?email_source=notifications&email_token=AADGFXOQXUIMMUVNUT6DENLQ2EMKHA5CNFSM4J2CKNJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHR3RVY#issuecomment-568572119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGFXORTYLACBNUKE7DPCLQ2EMKHANCNFSM4J2CKNJA .
--
-- Thanks, Zechariah Campbell | Software Engineer
I am having the same issue. @zechdc .. did you get any solution?
Chnage the css-loader version into 3.3.0.
Same problem with 3.4.2