We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在webpack里面配置了 webpackConfig.module.rules.push({ test: /.module.sass$/, use: path.join(path.dirname(require.resolve('extract-text-webpack-plugin')), 'loader.js') + 'postcss-loader!'+ 'sass-loader' }); webpackConfig.module.rules.forEach(function(use, index) { if (typeof use.test === 'function' && use.test.toString().indexOf('\.sass$') > -1) { use.include = /node_modules/; use.test = /.sass$/; } }); 启动之后引入sass文件还是报错 应该怎么配置呢
The text was updated successfully, but these errors were encountered:
升级到 roadhog@2,然后参考 https://github.com/sorrycc/roadhog#sass
Sorry, something went wrong.
您好,roadhog2中.webpackrc文件可以配置sass,找了好久没有看到一个示例
@sorrycc 能否给一个配置sass的示例
No branches or pull requests
在webpack里面配置了
webpackConfig.module.rules.push({
test: /.module.sass$/,
use: path.join(path.dirname(require.resolve('extract-text-webpack-plugin')), 'loader.js') + 'postcss-loader!'+ 'sass-loader'
});
webpackConfig.module.rules.forEach(function(use, index) {
if (typeof use.test === 'function' && use.test.toString().indexOf('\.sass$') > -1) {
use.include = /node_modules/;
use.test = /.sass$/;
}
});
启动之后引入sass文件还是报错
应该怎么配置呢
The text was updated successfully, but these errors were encountered: