create-packer 1.35.16 → 1.35.18
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
|
@@ -3,14 +3,16 @@
|
|
|
3
3
|
import 'styled-components'
|
|
4
4
|
import { themeType } from './shared/theme'
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
declare global {
|
|
7
|
+
interface ImportMetaEnv {
|
|
8
|
+
readonly VITE_BASE_URL: string
|
|
9
|
+
readonly VITE_API_HOST: string
|
|
10
|
+
// 更多环境变量...
|
|
11
|
+
}
|
|
11
12
|
|
|
12
|
-
interface ImportMeta {
|
|
13
|
-
|
|
13
|
+
interface ImportMeta {
|
|
14
|
+
readonly env: ImportMetaEnv
|
|
15
|
+
}
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
declare module 'styled-components' {
|
|
@@ -2,14 +2,16 @@
|
|
|
2
2
|
import 'styled-components'
|
|
3
3
|
import { themeType } from './shared/styles'
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
declare global {
|
|
6
|
+
interface ImportMetaEnv {
|
|
7
|
+
readonly VITE_API_HOST: string
|
|
8
|
+
readonly VITE_APP_ID: string
|
|
9
|
+
// 更多环境变量...
|
|
10
|
+
}
|
|
10
11
|
|
|
11
|
-
interface ImportMeta {
|
|
12
|
-
|
|
12
|
+
interface ImportMeta {
|
|
13
|
+
readonly env: ImportMetaEnv
|
|
14
|
+
}
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
declare module 'styled-components' {
|