You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
291 B
JavaScript
13 lines
291 B
JavaScript
3 years ago
|
const path = require("path");
|
||
|
|
||
|
module.exports = {
|
||
|
pluginOptions: {
|
||
|
"style-resources-loader": {
|
||
|
preProcessor: "less",
|
||
|
patterns: [
|
||
|
// 全局变量路径,不能使用路径别名
|
||
|
path.resolve(__dirname, "./common/css/variables.less"),
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
};
|