Commit c2c4b071 authored by Zhi Cun's avatar Zhi Cun Committed by GitHub

Merge pull request #14232 from island205/bugfix/nuxt-error

Build: fix export error fired in commonjs module used in nuxt.js
parents d351c075 daeb18c6
...@@ -15,6 +15,14 @@ ...@@ -15,6 +15,14 @@
"plugins": ["transform-vue-jsx"], "plugins": ["transform-vue-jsx"],
"env": { "env": {
"utils": { "utils": {
"presets": [
[
"env",
{
"modules": "commonjs",
}
],
],
"plugins": [ "plugins": [
["module-resolver", { ["module-resolver", {
"root": ["element-ui"], "root": ["element-ui"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment