create-packer 1.43.1 → 1.43.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.43.1",
3
+ "version": "1.43.2",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -1,3 +1,3 @@
1
- PUBLIC_MODE=production
1
+ PUBLIC_ENV_MODE=production
2
2
  PUBLIC_BASE_URL=/
3
3
  PUBLIC_API_HOST=/
@@ -1,3 +1,3 @@
1
- PUBLIC_MODE=development
1
+ PUBLIC_ENV_MODE=development
2
2
  PUBLIC_BASE_URL=/dev
3
3
  PUBLIC_API_HOST=/api
@@ -9,7 +9,7 @@ declare global {
9
9
  interface ImportMetaEnv {
10
10
  readonly PUBLIC_BASE_URL: string
11
11
  readonly PUBLIC_API_HOST: string
12
- readonly PUBLIC_MODE: 'production' | 'development'
12
+ readonly PUBLIC_ENV_MODE: 'production' | 'development'
13
13
  }
14
14
 
15
15
  interface ImportMeta {
@@ -1,3 +1,3 @@
1
- PUBLIC_MODE=production
1
+ PUBLIC_ENV_MODE=production
2
2
  PUBLIC_BASE_URL=/
3
3
  PUBLIC_API_HOST=/
@@ -1,3 +1,3 @@
1
- PUBLIC_MODE=development
1
+ PUBLIC_ENV_MODE=development
2
2
  PUBLIC_BASE_URL=/dev
3
3
  PUBLIC_API_HOST=/api
@@ -9,7 +9,7 @@ declare module '*.vue' {
9
9
  interface ImportMetaEnv {
10
10
  readonly PUBLIC_BASE_URL: string
11
11
  readonly PUBLIC_API_HOST: string
12
- readonly PUBLIC_MODE: 'production' | 'development'
12
+ readonly PUBLIC_ENV_MODE: 'production' | 'development'
13
13
  // 更多环境变量...
14
14
  }
15
15