gant-core 0.1.37 → 0.1.39

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.
@@ -4,7 +4,7 @@
4
4
  "scripts": {
5
5
  "start": "gant-cli",
6
6
  "build": "gant-cli build",
7
- "preview": "gant-cli preview",
7
+ "analyzer": "gant-cli analyzer",
8
8
  "i18n": "gant-cli i18n"
9
9
  },
10
10
  "dependencies": {
@@ -4,7 +4,7 @@
4
4
  "scripts": {
5
5
  "start": "gant-cli",
6
6
  "build": "gant-cli build",
7
- "preview": "gant-cli preview",
7
+ "analyzer": "gant-cli analyzer",
8
8
  "i18n": "gant-cli i18n"
9
9
  },
10
10
  "dependencies": {
package/lib/index.d.ts CHANGED
@@ -1696,6 +1696,7 @@ interface GantCustomConfig {
1696
1696
  define?: any;
1697
1697
  setting?: CONFIG_TYPE;
1698
1698
  vue?: boolean;
1699
+ compression?: boolean;
1699
1700
  }
1700
1701
  interface GantUserConfig extends Configuration, GantCustomConfig {
1701
1702
  devServer?: Configuration$1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gant-core",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -23,6 +23,7 @@
23
23
  "@types/tmp": "^0.2.6",
24
24
  "cli-progress": "^3.12.0",
25
25
  "commander": "^11.1.0",
26
+ "compression-webpack-plugin": "^11.1.0",
26
27
  "ejs": "^3.1.9",
27
28
  "fast-glob": "^3.3.2",
28
29
  "fs": "^0.0.1-security",