d0f6d3f1f6
detail see https://panjiachen.github.io/vue-element-admin-site/#/zh-cn/lazy-loading?id=%E8%B7%AF%E7%94%B1%E6%87%92%E5%8A%A0%E8%BD%BD
17 lines
313 B
Text
17 lines
313 B
Text
{
|
|
"presets": [
|
|
["env", {
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
|
|
}
|
|
}],
|
|
"stage-2"
|
|
],
|
|
"plugins": ["transform-vue-jsx", "transform-runtime"],
|
|
"env": {
|
|
"development":{
|
|
"plugins": ["dynamic-import-node"]
|
|
}
|
|
}
|
|
}
|