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
PR链接 https://github.com/ice-lab/ice-scripts/pull/71
module.exports = { chainWebpack(config) { [ config.module.rule('styl'), config.module.rule('styl-module'), ].forEach(rule => { rule.use('stylus-loader').options({ preferPathResolver: 'webpack', import: [], // 导入全局函数 use: [], // 添加插件 define: { // 全局变量 isProd: process.env.NODE_ENV === 'production', urlPrefix: '//g.alicdn.com' } }); }); return config; } };
The text was updated successfully, but these errors were encountered:
2.1.13 已支持
Sorry, something went wrong.
ClarkXia
No branches or pull requests
PR链接 https://github.com/ice-lab/ice-scripts/pull/71
自定义扩展
The text was updated successfully, but these errors were encountered: