nwb
nwb copied to clipboard
how to exclude css modules of sass worked in node_module sass files
config below const path = require ('path'); module.exports = { type: 'react-component', npm: { esModules: true, umd: false, },
webpack: { rules: { 'sass-css': { modules: true, localIdentName: '[name][local][hash:base64:5]', include: /.module.scss/, includePaths: [path.resolve (__dirname, 'src')], excludePaths: [path.resolve (__dirname, 'node_modules')], }, }, }, };
after build i find it transfer sass in node_modules with css modules
how to solve this problem