Open lmw6412036 opened 5 years ago
// webpack.config.js
{
test: /\.(css|wxss|scss)$/,
exclude: /node_modules/,
use: [
loaders.style,
{
loader:'sass-loader',
options: {
sourceMap: true
}
}
],
},
使用 sass-loader 正常地配置 webpack 即可。
参考: