@vtj/local 0.12.20 → 0.12.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
@@ -1153,6 +1153,10 @@ const umdBuildPlugin = function(options) {
|
|
1153
1153
|
const buildUmd = async () => {
|
1154
1154
|
await vite.build({
|
1155
1155
|
configFile: false,
|
1156
|
+
mode: "production",
|
1157
|
+
define: {
|
1158
|
+
"process.env.NODE_ENV": JSON.stringify("production")
|
1159
|
+
},
|
1156
1160
|
build: {
|
1157
1161
|
outDir: outputDir,
|
1158
1162
|
emptyOutDir: false,
|
@@ -1167,7 +1171,7 @@ const umdBuildPlugin = function(options) {
|
|
1167
1171
|
}
|
1168
1172
|
},
|
1169
1173
|
watch: {},
|
1170
|
-
minify:
|
1174
|
+
minify: true,
|
1171
1175
|
rollupOptions: {
|
1172
1176
|
external: [
|
1173
1177
|
"vue",
|
package/dist/index.mjs
CHANGED
@@ -1146,6 +1146,10 @@ const umdBuildPlugin = function(options) {
|
|
1146
1146
|
const buildUmd = async () => {
|
1147
1147
|
await build({
|
1148
1148
|
configFile: false,
|
1149
|
+
mode: "production",
|
1150
|
+
define: {
|
1151
|
+
"process.env.NODE_ENV": JSON.stringify("production")
|
1152
|
+
},
|
1149
1153
|
build: {
|
1150
1154
|
outDir: outputDir,
|
1151
1155
|
emptyOutDir: false,
|
@@ -1160,7 +1164,7 @@ const umdBuildPlugin = function(options) {
|
|
1160
1164
|
}
|
1161
1165
|
},
|
1162
1166
|
watch: {},
|
1163
|
-
minify:
|
1167
|
+
minify: true,
|
1164
1168
|
rollupOptions: {
|
1165
1169
|
external: [
|
1166
1170
|
"vue",
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/local",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.12.
|
4
|
+
"version": "0.12.21",
|
5
5
|
"type": "module",
|
6
6
|
"keywords": [
|
7
7
|
"低代码引擎",
|
@@ -22,10 +22,10 @@
|
|
22
22
|
"license": "MIT",
|
23
23
|
"dependencies": {
|
24
24
|
"formidable": "~3.5.1",
|
25
|
-
"@vtj/coder": "~0.12.
|
26
|
-
"@vtj/core": "~0.12.
|
25
|
+
"@vtj/coder": "~0.12.21",
|
26
|
+
"@vtj/core": "~0.12.21",
|
27
27
|
"@vtj/node": "~0.12.0",
|
28
|
-
"@vtj/parser": "~0.12.
|
28
|
+
"@vtj/parser": "~0.12.21"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"@types/formidable": "~3.4.5",
|