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
webpackConfig.module.loaders.forEach(function (loader, index) { if (typeof loader.test === 'function' && loader.test.toString().indexOf('.less$') > -1) { loader.test = /.dont.exist.file/; } if (loader.test.toString() === '/.module.less$/') { loader.test = /.less$/; }
}); 以前都是这样加载的 loaders: [ {test: /.less$/, loader: "style!css!less", exclude: /node_modules|bower_components/}, {test: /.woff(2)$/, loader: "url?limit=10000&minetype=application/font-woff"} ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
webpackConfig.module.loaders.forEach(function (loader, index) {
if (typeof loader.test === 'function' && loader.test.toString().indexOf('.less$') > -1) {
loader.test = /.dont.exist.file/;
}
if (loader.test.toString() === '/.module.less$/') {
loader.test = /.less$/;
}
});
以前都是这样加载的
loaders: [
{test: /.less$/, loader: "style!css!less", exclude: /node_modules|bower_components/},
{test: /.woff(2)$/, loader: "url?limit=10000&minetype=application/font-woff"}
]
The text was updated successfully, but these errors were encountered: