nwb icon indicating copy to clipboard operation
nwb copied to clipboard

how to exclude css modules of sass worked in node_module sass files

Open luckhpy opened this issue 5 years ago • 1 comments

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

luckhpy avatar Jan 23 '19 12:01 luckhpy

how to solve this problem

busyzz-1994 avatar Sep 24 '21 20:09 busyzz-1994