Closed joh3rd closed 3 months ago
i was able to solve it with a css-loader in my webpack.config.js
{
loader: "css-loader",
options: {
importLoaders: 1,
modules: {
namedExport: false,
exportLocalsConvention: "camelCase",
},
esModule: true,
},
}
I'm having problems using module.scss files.
example:
after building my web component and try to load it somewhere, like that:
i get the following error: TypeError: Cannot read properties of undefined (reading 'Wrapper')
i already tried a lot of different loaders in my webpack.config.js but the result is always the same.