unplugin-env 0.1.8 → 1.0.1
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/LICENSE +1 -1
- package/README.md +68 -2
- package/README.zh-CN.md +236 -0
- package/dist/{chunk-FG4FU2UV.js → chunk-ELYQVJHH.js} +1 -1
- package/dist/chunk-QWCQIGEO.js +6319 -0
- package/dist/{chunk-D7PHTHAC.js → chunk-Y45ERLIW.js} +1 -1
- package/dist/esbuild.cjs +636 -29696
- package/dist/esbuild.js +1 -1
- package/dist/index.cjs +636 -29696
- package/dist/index.js +3 -3
- package/dist/nuxt.cjs +638 -29698
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +4 -4
- package/dist/rollup.cjs +636 -29696
- package/dist/rollup.js +1 -1
- package/dist/vite.cjs +636 -29696
- package/dist/vite.js +2 -2
- package/dist/webpack.cjs +636 -29696
- package/dist/webpack.js +2 -2
- package/package.json +32 -26
- package/dist/chunk-HSFO6KAC.js +0 -35380
package/dist/nuxt.d.cts
CHANGED
|
@@ -3,6 +3,6 @@ import { Options } from './types.cjs';
|
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions extends Options {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
6
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
7
7
|
|
|
8
8
|
export { type ModuleOptions, _default as default };
|
package/dist/nuxt.d.ts
CHANGED
|
@@ -3,6 +3,6 @@ import { Options } from './types.js';
|
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions extends Options {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
6
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
7
7
|
|
|
8
8
|
export { type ModuleOptions, _default as default };
|
package/dist/nuxt.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
vite_default
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y45ERLIW.js";
|
|
9
9
|
import {
|
|
10
10
|
webpack_default
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-ELYQVJHH.js";
|
|
12
|
+
import "./chunk-QWCQIGEO.js";
|
|
13
13
|
|
|
14
14
|
// src/nuxt.ts
|
|
15
15
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
|
@@ -22,7 +22,7 @@ var nuxt_default = defineNuxtModule({
|
|
|
22
22
|
defaults: {
|
|
23
23
|
// ...default options
|
|
24
24
|
},
|
|
25
|
-
setup(options,
|
|
25
|
+
setup(options, _nuxt) {
|
|
26
26
|
addVitePlugin(() => vite_default(options));
|
|
27
27
|
addWebpackPlugin(() => webpack_default(options));
|
|
28
28
|
}
|