unplugin-env 0.1.1 → 0.1.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/dist/chunk-6MLX2H57.js +11 -0
- package/dist/{chunk-SE27KXSW.js → chunk-7VC4K6HT.js} +2172 -2020
- package/dist/chunk-C7KNK2L7.js +11 -0
- package/dist/esbuild.cjs +2169 -2021
- package/dist/esbuild.d.cts +6 -0
- package/dist/esbuild.js +4 -3
- package/dist/index.cjs +2175 -2021
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +7 -3
- package/dist/nuxt.cjs +2192 -2030
- package/dist/nuxt.d.cts +8 -0
- package/dist/nuxt.d.ts +5 -2
- package/dist/nuxt.js +21 -12
- package/dist/rollup.cjs +2169 -2021
- package/dist/rollup.d.cts +5 -0
- package/dist/rollup.d.ts +1 -2
- package/dist/rollup.js +4 -3
- package/dist/types.cjs +0 -1
- package/dist/types.d.cts +44 -0
- package/dist/types.d.ts +1 -0
- package/dist/vite.cjs +2169 -2021
- package/dist/vite.d.cts +6 -0
- package/dist/vite.js +3 -5
- package/dist/webpack.cjs +2169 -2021
- package/dist/webpack.d.cts +6 -0
- package/dist/webpack.js +3 -5
- package/package.json +33 -3
package/dist/webpack.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
|
|
5
|
-
// src/webpack.ts
|
|
6
|
-
var webpack_default = unplugin_default.webpack;
|
|
2
|
+
webpack_default
|
|
3
|
+
} from "./chunk-6MLX2H57.js";
|
|
4
|
+
import "./chunk-7VC4K6HT.js";
|
|
7
5
|
export {
|
|
8
6
|
webpack_default as default
|
|
9
7
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-env",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"packageManager": "pnpm@7.1.1",
|
|
6
6
|
"description": "Register global imports on demand for Vite and Webpack",
|
|
7
7
|
"license": "MIT",
|
|
@@ -83,14 +83,44 @@
|
|
|
83
83
|
"start": "esno src/index.ts",
|
|
84
84
|
"test": "vitest"
|
|
85
85
|
},
|
|
86
|
+
"peerDependencies": {
|
|
87
|
+
"@nuxt/kit": "^3",
|
|
88
|
+
"@nuxt/schema": "^3",
|
|
89
|
+
"esbuild": "*",
|
|
90
|
+
"rollup": "^3",
|
|
91
|
+
"vite": ">=3",
|
|
92
|
+
"webpack": "^4 || ^5"
|
|
93
|
+
},
|
|
94
|
+
"peerDependenciesMeta": {
|
|
95
|
+
"webpack": {
|
|
96
|
+
"optional": true
|
|
97
|
+
},
|
|
98
|
+
"rollup": {
|
|
99
|
+
"optional": true
|
|
100
|
+
},
|
|
101
|
+
"vite": {
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
"esbuild": {
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
"@nuxt/kit": {
|
|
108
|
+
"optional": true
|
|
109
|
+
},
|
|
110
|
+
"@nuxt/schema": {
|
|
111
|
+
"optional": true
|
|
112
|
+
}
|
|
113
|
+
},
|
|
86
114
|
"dependencies": {
|
|
87
115
|
"@antfu/utils": "^0.7.4",
|
|
88
116
|
"compressing": "^1.9.0",
|
|
89
117
|
"local-pkg": "^0.4.3",
|
|
90
|
-
"unplugin": "^1.
|
|
118
|
+
"unplugin": "^1.5.0"
|
|
91
119
|
},
|
|
92
120
|
"devDependencies": {
|
|
93
121
|
"@antfu/eslint-config": "^0.39.5",
|
|
122
|
+
"@nuxt/kit": "^3.7.3",
|
|
123
|
+
"@nuxt/schema": "^3.7.3",
|
|
94
124
|
"@types/node": "^20.2.5",
|
|
95
125
|
"@types/prettier": "^2.7.3",
|
|
96
126
|
"bumpp": "^9.1.1",
|
|
@@ -103,7 +133,7 @@
|
|
|
103
133
|
"prettier": "^2.8.8",
|
|
104
134
|
"rimraf": "^5.0.1",
|
|
105
135
|
"rollup": "^3.23.1",
|
|
106
|
-
"tsup": "^
|
|
136
|
+
"tsup": "^7.2.0",
|
|
107
137
|
"typescript": "^4.9.5",
|
|
108
138
|
"vite": "^4.3.9",
|
|
109
139
|
"vitest": "^0.31.4",
|