验证中...
Languages: JavaScript
Categories: JavaScript 工具
Latest update 2019-05-16 14:54
css-module-with-less
Raw Copy
{
test: /\.less$/,
exclude: [/node_modules/],
use: [
require.resolve('style-loader'),
{
loader: require.resolve('css-loader'),
options: {
modules: true,
localIndetName:"[name]__[local]___[hash:base64:5]"
},
},
{
loader: require.resolve('less-loader'), // compiles Less to CSS
},
],
},

Comment list( 0 )

You need to Sign in for post a comment

Help Search