Skip to content

Commit f03352e

Browse files
committed
fix(lib): 解决打包后包含es6代码问题
fix #29
1 parent d4ee166 commit f03352e

File tree

15 files changed

+36624
-12284
lines changed

15 files changed

+36624
-12284
lines changed

packages/lib/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ['@lljj/babel-preset-app']
2+
presets: ['@lljj/babel-preset']
33
};

packages/lib/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@lljj/vjsf-utils",
33
"version": "0.5.0",
44
"description": "vue json schema form 使用的基础utils工具类",
5+
"private": false,
56
"keywords": [
67
"@lljj/vjsf-utils",
78
"vue",
@@ -15,7 +16,6 @@
1516
"repository": "https://github.com/lljj-x/vue-json-schema-form",
1617
"homepage": "https://github.com/lljj-x/vue-json-schema-form",
1718
"license": "Apache-2.0",
18-
"private": true,
1919
"author": "Liu.Jun",
2020
"browserslist": [
2121
"> 1%",

packages/lib/vue2/vue2-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
"form",
1111
"jsonSchema"
1212
],
13+
"private": false,
1314
"dependencies": {
1415
"@lljj/vjsf-utils": "0.5.0"
1516
},
1617
"repository": "https://github.com/lljj-x/vue-json-schema-form",
1718
"homepage": "https://github.com/lljj-x/vue-json-schema-form",
18-
"private": true,
1919
"license": "Apache-2.0",
2020
"author": "Liu.Jun",
2121
"browserslist": [
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ['@lljj/babel-preset']
3+
};

0 commit comments

Comments
 (0)