Npm package precss causes build error. Is this plugin still needed?
Closed this issue · 1 comments
hauff commented
Npm package precss is disabled in dfedb42, because it causes the following build error ...
ERROR in ./scss/custom.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/sass-loader/dist/cjs.js!./scss/custom.scss)
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):
TypeError: Cannot read properties of undefined (reading 'raws')
If we still need precss, this could be a workaround csstools/precss#139 (comment).
DaraKamalian commented
After removing precss from package.json and running npm build, I have tested hanfor and nothing seems to break!
So perhaps we don't need precss after all.