-
Notifications
You must be signed in to change notification settings - Fork 110
Description
Describe the bug
å¼å „ el-data-tableļ¼åÆåØę¶ę„éć
Screenshots
VITE v3.1.4 ready in 207 ms
ā Local: http://127.0.0.1:5176/
ā Network: use --host to expose
ā [ERROR] Could not resolve "@babel/runtime/helpers/toConsumableArray"
node_modules/@femessage/el-form-renderer/dist/el-form-renderer.esm.js:1:31:
1 ā import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/toConsumableArray" as external to exclude it from
the bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/regenerator"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:1:32:
1 ā import _regeneratorRuntime from '@babel/runtime/regenerator';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/regenerator" as external to exclude it from the bundle,
which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/defineProperty"
node_modules/@femessage/el-form-renderer/dist/el-form-renderer.esm.js:2:28:
2 ā import _defineProperty from '@babel/runtime/helpers/defineProperty';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/defineProperty" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/asyncToGenerator"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:2:30:
2 ā import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/asyncToGenerator" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/objectSpread"
node_modules/@femessage/el-form-renderer/dist/el-form-renderer.esm.js:3:26:
3 ā import _objectSpread from '@babel/runtime/helpers/objectSpread';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/objectSpread" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/toConsumableArray"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:3:31:
3 ā import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/toConsumableArray" as external to exclude it from
the bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/objectSpread"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:4:26:
4 ā import _objectSpread from '@babel/runtime/helpers/objectSpread';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/objectSpread" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/slicedToArray"
node_modules/@femessage/el-form-renderer/dist/el-form-renderer.esm.js:7:27:
7 ā import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/slicedToArray" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/slicedToArray"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:9:27:
9 ā import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/slicedToArray" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/possibleConstructorReturn"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:10:39:
10 ā import _possibleConstructorReturn from '@babel/runtime/helpers/possibleConstructorReturn';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/possibleConstructorReturn" as external to exclude it
from the bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/getPrototypeOf"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:11:28:
11 ā import _getPrototypeOf from '@babel/runtime/helpers/getPrototypeOf';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/getPrototypeOf" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/inherits"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:12:22:
12 ā import _inherits from '@babel/runtime/helpers/inherits';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/inherits" as external to exclude it from the bundle,
which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/extends"
node_modules/@femessage/el-form-renderer/dist/el-form-renderer.esm.js:14:21:
14 ā import _extends from '@babel/runtime/helpers/extends';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/extends" as external to exclude it from the bundle,
which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/classCallCheck"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:13:28:
13 ā import _classCallCheck from '@babel/runtime/helpers/classCallCheck';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/classCallCheck" as external to exclude it from the
bundle, which will remove this error.
ā [ERROR] Could not resolve "@babel/runtime/helpers/createClass"
node_modules/@femessage/el-data-table/dist/el-data-table.esm.js:14:25:
14 ā import _createClass from '@babel/runtime/helpers/createClass';
āµ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can mark the path "@babel/runtime/helpers/createClass" as external to exclude it from the
bundle, which will remove this error.
To Reproduce
Steps to reproduce the behavior:
- Vite å建锹ē®ļ¼éę© Vue2
- main.js äøå¼å „ el-data-table
- åÆåØé”¹ē®
- See error
Expected behavior
ę£åøøåÆåØé”¹ē®
environment information
"dependencies": {
"vue": "^2.7.7"
},
"devDependencies": {
"@femessage/el-data-table": "^1.23.2",
"@femessage/el-form-renderer": "^1.24.0",
"@vitejs/plugin-legacy": "^2.0.0",
"@vitejs/plugin-vue2": "^1.1.2",
"@vitejs/plugin-vue2-jsx": "^1.0.2",
"axios": "^1.0.0",
"element-ui": "^2.15.10",
"terser": "^5.14.2",
"vite": "^3.0.2"
}