Build: fix export error fired in commonjs module used in nuxt.js

This commit is contained in:
Zhi 2019-01-27 20:00:07 +08:00
parent 8a27259d50
commit daeb18c6fa

View File

@ -15,6 +15,14 @@
"plugins": ["transform-vue-jsx"],
"env": {
"utils": {
"presets": [
[
"env",
{
"modules": "commonjs",
}
],
],
"plugins": [
["module-resolver", {
"root": ["element-ui"],