mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-17 16:24:16 +08:00
Update LESS loader options in vue.config.js
This commit is contained in:
@@ -7,10 +7,12 @@ module.exports = {
|
||||
// 向预处理器 Loader 传递配置选项
|
||||
less: {
|
||||
// 配置less(其他样式解析用法一致)
|
||||
lessOptions: {
|
||||
javascriptEnabled: true, // 设置为true
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
productionSourceMap: false,
|
||||
outputDir: path.join(__dirname, '../public/feature'),
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '' : '/',
|
||||
|
||||
Reference in New Issue
Block a user