Open Bing4Autodesk opened 3 years ago
you can change you webpack config with css-loader esModule: false and try again
I solved the problem in this way
Can you show an example of your rule with this patch in place?
{ test: /.iso.scss$/, use: [ 'isomorphic-style-loader', { loader: 'css-loader', options: { modules: { localIdentName: '[hash:base64:5]', }, esModule: false, }, }, 'postcss-loader', { loader: 'sass-loader', options: { implementation: require('node-sass'), sourceMap: true, }, } ], }
Looks like it doesn't support webpack5