mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
fix: compile error when updating less-loader to v6 (#2194)
This commit is contained in:
parent
eddabaf598
commit
7557ac9dad
@ -121,7 +121,7 @@
|
||||
"json-templater": "^1.2.0",
|
||||
"jsonp": "^0.2.1",
|
||||
"less": "^3.9.0",
|
||||
"less-loader": "^5.0.0",
|
||||
"less-loader": "^6.0.0",
|
||||
"less-plugin-npm-import": "^2.1.0",
|
||||
"lint-staged": "^10.0.0",
|
||||
"marked": "0.3.18",
|
||||
|
@ -59,7 +59,15 @@ module.exports = {
|
||||
loader: 'css-loader',
|
||||
options: { sourceMap: true },
|
||||
},
|
||||
{ loader: 'less-loader', options: { sourceMap: true, javascriptEnabled: true } },
|
||||
{
|
||||
loader: 'less-loader',
|
||||
options: {
|
||||
lessOptions: {
|
||||
sourceMap: true,
|
||||
javascriptEnabled: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user