@varlet/cli 1.22.0-alpha.6 → 1.22.0-alpha.7

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.
@@ -65,6 +65,7 @@ function getBuildConfig(varletConfig) {
65
65
  outDir: constant_1.SITE_OUTPUT_PATH,
66
66
  brotliSize: false,
67
67
  emptyOutDir: true,
68
+ minify: 'terser',
68
69
  rollupOptions: {
69
70
  input: {
70
71
  main: path_1.resolve(constant_1.SITE, 'index.html'),
@@ -105,6 +106,7 @@ function getUMDConfig(varletConfig) {
105
106
  logLevel: 'silent',
106
107
  build: {
107
108
  emptyOutDir: true,
109
+ minify: 'terser',
108
110
  lib: {
109
111
  name: name,
110
112
  formats: ['umd'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "1.22.0-alpha.6+b3e8d150",
3
+ "version": "1.22.0-alpha.7+63386141",
4
4
  "description": "cli of varlet",
5
5
  "bin": {
6
6
  "varlet-cli": "./lib/index.js"
@@ -31,7 +31,7 @@
31
31
  "dev": "tsc --watch",
32
32
  "build": "tsc"
33
33
  },
34
- "gitHead": "b3e8d150b843c603b090d8e2da3ec05e02f2a32e",
34
+ "gitHead": "63386141058b9268358eda5956cd7c3fd52cf9b5",
35
35
  "dependencies": {
36
36
  "@babel/core": "^7.14.8",
37
37
  "@babel/preset-env": "^7.14.8",
@@ -44,7 +44,7 @@
44
44
  "@varlet/markdown-vite-plugin": "^1.20.0",
45
45
  "@varlet/stylelint-config": "^1.9.0",
46
46
  "@varlet/touch-emulator": "^1.0.1",
47
- "@varlet/ui": "^1.22.0-alpha.6+b3e8d150",
47
+ "@varlet/ui": "^1.22.0-alpha.7+63386141",
48
48
  "@vitejs/plugin-vue": "1.9.2",
49
49
  "@vitejs/plugin-vue-jsx": "1.1.8",
50
50
  "@vue/babel-plugin-jsx": "^1.0.7",
@@ -75,7 +75,7 @@
75
75
  "stylelint": "^13.13.1",
76
76
  "ts-jest": "^26.5.1",
77
77
  "typescript": "^4.3.5",
78
- "vite": "2.5.10",
78
+ "vite": "2.6.0-beta.2",
79
79
  "vite-plugin-html": "^2.1.0",
80
80
  "vue-jest": "^5.0.0-alpha.8",
81
81
  "vue-loader": "16.5.0",