@powerlines/plugin-vite 0.14.305 → 0.14.307
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/{build-CKSRktJj.d.mts → build-BnD8f4L9.d.mts} +1 -1
- package/dist/{build-CKSRktJj.d.mts.map → build-BnD8f4L9.d.mts.map} +1 -1
- package/dist/helpers/index.d.cts +0 -1
- package/dist/helpers/index.d.mts +5 -5
- package/dist/helpers/resolve-options.d.cts +0 -1
- package/dist/helpers/resolve-options.d.mts +2 -2
- package/dist/helpers/unplugin.d.cts +0 -1
- package/dist/helpers/unplugin.d.mts +3 -3
- package/dist/index.cjs +1 -3
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/dist/{plugin-CEzL_k_8.d.mts → plugin-BDnHvJzN.d.mts} +2 -2
- package/dist/{plugin-CEzL_k_8.d.mts.map → plugin-BDnHvJzN.d.mts.map} +1 -1
- package/dist/{resolve-options-DSXA4Lt_.d.mts → resolve-options-D-xqROJb.d.mts} +2 -2
- package/dist/{resolve-options-DSXA4Lt_.d.mts.map → resolve-options-D-xqROJb.d.mts.map} +1 -1
- package/dist/types/_internal.d.cts +0 -1
- package/dist/types/_internal.d.cts.map +1 -1
- package/dist/types/_internal.d.mts +2 -2
- package/dist/types/build.cjs +0 -1
- package/dist/types/build.d.mts +1 -1
- package/dist/types/build.mjs +0 -2
- package/dist/types/index.cjs +0 -3
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.mjs +0 -4
- package/dist/types/plugin.cjs +0 -1
- package/dist/types/plugin.d.cts +0 -1
- package/dist/types/plugin.d.mts +2 -2
- package/dist/types/plugin.mjs +0 -2
- package/dist/{unplugin-CyIe8bFZ.d.mts → unplugin-B_SxYRZq.d.mts} +2 -2
- package/dist/unplugin-B_SxYRZq.d.mts.map +1 -0
- package/package.json +8 -8
- package/dist/types-Cn_AzV39.mjs +0 -1
- package/dist/types-D208vOSb.cjs +0 -0
- package/dist/unplugin-CyIe8bFZ.d.mts.map +0 -1
- /package/dist/{index-B8OHl-c_.d.mts → index-DWe68pTi.d.mts} +0 -0
|
@@ -10,4 +10,4 @@ type ViteOptions = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsco
|
|
|
10
10
|
declare type __ΩViteOptions = any[];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { __ΩViteOptions as n, ViteOptions as t };
|
|
13
|
-
//# sourceMappingURL=build-
|
|
13
|
+
//# sourceMappingURL=build-BnD8f4L9.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-
|
|
1
|
+
{"version":3,"file":"build-BnD8f4L9.d.mts","names":[],"sources":["../src/types/build.ts"],"sourcesContent":[],"mappings":";;;KAoBY,WAAA,GAAc,KACxB;;AADF;;EAA0B,YAAA,CAAA,EAeT,IAfS,CAeJ,sBAfI,EAAA,YAAA,CAAA;CAeJ;AAAL,8BAAA,GAAA,EAAA"}
|
package/dist/helpers/index.d.cts
CHANGED
package/dist/helpers/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../build-
|
|
2
|
-
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-
|
|
3
|
-
import "../plugin-
|
|
4
|
-
import { t as createVitePlugin } from "../unplugin-
|
|
5
|
-
import "../index-
|
|
1
|
+
import "../build-BnD8f4L9.mjs";
|
|
2
|
+
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-D-xqROJb.mjs";
|
|
3
|
+
import "../plugin-BDnHvJzN.mjs";
|
|
4
|
+
import { t as createVitePlugin } from "../unplugin-B_SxYRZq.mjs";
|
|
5
|
+
import "../index-DWe68pTi.mjs";
|
|
6
6
|
export { DEFAULT_VITE_CONFIG, createVitePlugin, resolveOptions };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../build-
|
|
2
|
-
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-
|
|
1
|
+
import "../build-BnD8f4L9.mjs";
|
|
2
|
+
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-D-xqROJb.mjs";
|
|
3
3
|
export { DEFAULT_VITE_CONFIG, resolveOptions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../build-
|
|
2
|
-
import "../plugin-
|
|
3
|
-
import { t as createVitePlugin } from "../unplugin-
|
|
1
|
+
import "../build-BnD8f4L9.mjs";
|
|
2
|
+
import "../plugin-BDnHvJzN.mjs";
|
|
3
|
+
import { t as createVitePlugin } from "../unplugin-B_SxYRZq.mjs";
|
|
4
4
|
export { createVitePlugin };
|
package/dist/index.cjs
CHANGED
|
@@ -2,9 +2,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2
2
|
const require_resolve_options = require('./resolve-options-CGWH6O9W.cjs');
|
|
3
3
|
const require_unplugin = require('./unplugin-BIIMkEyS.cjs');
|
|
4
4
|
require('./helpers-yB1XkvQI.cjs');
|
|
5
|
-
require('./
|
|
6
|
-
require('./plugin-D5qyQPqC.cjs');
|
|
7
|
-
require('./types-D208vOSb.cjs');
|
|
5
|
+
require('./types/index.cjs');
|
|
8
6
|
let defu = require("defu");
|
|
9
7
|
defu = require_resolve_options.__toESM(defu);
|
|
10
8
|
let vite = require("vite");
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as __ΩViteOptions, t as ViteOptions } from "./build-
|
|
2
|
-
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-
|
|
3
|
-
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "./plugin-
|
|
4
|
-
import { t as createVitePlugin } from "./unplugin-
|
|
1
|
+
import { n as __ΩViteOptions, t as ViteOptions } from "./build-BnD8f4L9.mjs";
|
|
2
|
+
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-D-xqROJb.mjs";
|
|
3
|
+
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "./plugin-BDnHvJzN.mjs";
|
|
4
|
+
import { t as createVitePlugin } from "./unplugin-B_SxYRZq.mjs";
|
|
5
|
+
import "./index-DWe68pTi.mjs";
|
|
5
6
|
import "./index-C-svZlpj.mjs";
|
|
6
|
-
import "./index-B8OHl-c_.mjs";
|
|
7
7
|
import { Plugin } from "@powerlines/core";
|
|
8
8
|
|
|
9
9
|
//#region src/index.d.ts
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-CZfGIJwj.mjs";
|
|
2
2
|
import { t as createVitePlugin } from "./unplugin-CmW69N5s.mjs";
|
|
3
3
|
import "./helpers-DvTULET6.mjs";
|
|
4
|
-
import "./
|
|
5
|
-
import "./plugin-HyYPEfea.mjs";
|
|
6
|
-
import "./types-Cn_AzV39.mjs";
|
|
4
|
+
import "./types/index.mjs";
|
|
7
5
|
import defu from "defu";
|
|
8
6
|
import { build } from "vite";
|
|
9
7
|
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Context, Plugin } from \"@powerlines/core\";\nimport defu from \"defu\";\nimport { build, InlineConfig } from \"vite\";\nimport { DEFAULT_VITE_CONFIG, resolveOptions } from \"./helpers/resolve-options\";\nimport { createVitePlugin } from \"./helpers/unplugin\";\nimport { UNSAFE_VitePluginContext } from \"./types/_internal\";\nimport {\n VitePluginContext,\n VitePluginOptions,\n VitePluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface BaseConfig {\n vite?: VitePluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <TContext extends VitePluginContext = VitePluginContext>(\n options: VitePluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"vite\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `vite` build plugin.\"\n );\n\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n vite: {\n ...DEFAULT_VITE_CONFIG,\n ...options\n },\n singleBuild: true\n } as Partial<VitePluginResolvedConfig>;\n },\n async build() {\n this.trace(`Building the Powerlines plugin.`);\n\n const environments = (this as unknown as UNSAFE_VitePluginContext)\n ?.$$internal?.api?.context?.environments;\n if (!environments || Object.keys(environments).length === 0) {\n throw new Error(\n `No environments found in the Powerlines context. At least one environment should have been generated - please report this issue to https://github.com/storm-software/powerlines/issues.`\n );\n }\n\n this.trace(\n `Running Vite for ${Object.keys(environments).length} environments.`\n );\n\n const config = defu(\n {\n config: false,\n entry: this.entry,\n environments: Object.fromEntries(\n Object.entries(environments).map(([name, env]) => [\n name,\n resolveOptions(env as Context)\n ])\n )\n },\n resolveOptions(this),\n {\n plugins: [createVitePlugin(this)]\n }\n );\n\n await build(config as InlineConfig);\n }\n };\n};\n\nexport default plugin;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Context, Plugin } from \"@powerlines/core\";\nimport defu from \"defu\";\nimport { build, InlineConfig } from \"vite\";\nimport { DEFAULT_VITE_CONFIG, resolveOptions } from \"./helpers/resolve-options\";\nimport { createVitePlugin } from \"./helpers/unplugin\";\nimport { UNSAFE_VitePluginContext } from \"./types/_internal\";\nimport {\n VitePluginContext,\n VitePluginOptions,\n VitePluginResolvedConfig\n} from \"./types/plugin\";\n\nexport * from \"./helpers\";\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface BaseConfig {\n vite?: VitePluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to assist in developing other Powerlines plugins.\n */\nexport const plugin = <TContext extends VitePluginContext = VitePluginContext>(\n options: VitePluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"vite\",\n config() {\n this.trace(\n \"Providing default configuration for the Powerlines `vite` build plugin.\"\n );\n\n return {\n output: {\n format: [\"cjs\", \"esm\"]\n },\n vite: {\n ...DEFAULT_VITE_CONFIG,\n ...options\n },\n singleBuild: true\n } as Partial<VitePluginResolvedConfig>;\n },\n async build() {\n this.trace(`Building the Powerlines plugin.`);\n\n const environments = (this as unknown as UNSAFE_VitePluginContext)\n ?.$$internal?.api?.context?.environments;\n if (!environments || Object.keys(environments).length === 0) {\n throw new Error(\n `No environments found in the Powerlines context. At least one environment should have been generated - please report this issue to https://github.com/storm-software/powerlines/issues.`\n );\n }\n\n this.trace(\n `Running Vite for ${Object.keys(environments).length} environments.`\n );\n\n const config = defu(\n {\n config: false,\n entry: this.entry,\n environments: Object.fromEntries(\n Object.entries(environments).map(([name, env]) => [\n name,\n resolveOptions(env as Context)\n ])\n )\n },\n resolveOptions(this),\n {\n plugins: [createVitePlugin(this)]\n }\n );\n\n await build(config as InlineConfig);\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;AA0CA,MAAa,UACX,UAA6B,EAAE,KACV;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,QAAK,MACH,0EACD;AAED,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,OAAO,MAAM,EACvB;IACD,MAAM;KACJ,GAAG;KACH,GAAG;KACJ;IACD,aAAa;IACd;;EAEH,MAAM,QAAQ;AACZ,QAAK,MAAM,kCAAkC;GAE7C,MAAM,eAAgB,MAClB,YAAY,KAAK,SAAS;AAC9B,OAAI,CAAC,gBAAgB,OAAO,KAAK,aAAa,CAAC,WAAW,EACxD,OAAM,IAAI,MACR,0LACD;AAGH,QAAK,MACH,oBAAoB,OAAO,KAAK,aAAa,CAAC,OAAO,gBACtD;AAmBD,SAAM,MAjBS,KACb;IACE,QAAQ;IACR,OAAO,KAAK;IACZ,cAAc,OAAO,YACnB,OAAO,QAAQ,aAAa,CAAC,KAAK,CAAC,MAAM,SAAS,CAChD,MACA,eAAe,IAAe,CAC/B,CAAC,CACH;IACF,EACD,eAAe,KAAK,EACpB,EACE,SAAS,CAAC,iBAAiB,KAAK,CAAC,EAClC,CACF,CAEkC;;EAEtC;;AAGH,kBAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ViteOptions } from "./build-
|
|
1
|
+
import { t as ViteOptions } from "./build-BnD8f4L9.mjs";
|
|
2
2
|
import { ConfigEnv, PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core";
|
|
3
3
|
|
|
4
4
|
//#region src/types/plugin.d.ts
|
|
@@ -19,4 +19,4 @@ declare type __ΩVitePluginResolvedConfig = any[];
|
|
|
19
19
|
declare type __ΩVitePluginContext = any[];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { __ΩVitePluginContext as a, __ΩVitePluginUserConfig as c, VitePluginUserConfig as i, VitePluginOptions as n, __ΩVitePluginOptions as o, VitePluginResolvedConfig as r, __ΩVitePluginResolvedConfig as s, VitePluginContext as t };
|
|
22
|
-
//# sourceMappingURL=plugin-
|
|
22
|
+
//# sourceMappingURL=plugin-BDnHvJzN.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-
|
|
1
|
+
{"version":3,"file":"plugin-BDnHvJzN.d.mts","names":[],"sources":["../src/types/plugin.ts"],"sourcesContent":[],"mappings":";;;;KA0BY,iBAAA,GAAoB,QAAQ;UAEvB,oBAAA,SAA6B;EAFlC,IAAA,CAAA,EAGH,iBAHoB;AAE7B;AAIiB,UAAA,wBAAA,SAAiC,cAAA,CAAA;EAItC,IAAA,EAHJ,WAGI;;AACyC,KADzC,iBACyC,CAAA,wBAA3B,wBAA2B,GAAA,wBAAA,CAAA,GACjD,aADiD,CACnC,eADmC,CAAA,GAAA;EACnC,GAAA,EAAA,OAAA;EAAd,SAAA,EAES,SAFT;CAES;AAAS,oCAAA,GAAA,EAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as ViteOptions } from "./build-
|
|
1
|
+
import { t as ViteOptions } from "./build-BnD8f4L9.mjs";
|
|
2
2
|
import { Context } from "@powerlines/core";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/resolve-options.d.ts
|
|
@@ -12,4 +12,4 @@ declare const DEFAULT_VITE_CONFIG: Partial<ViteOptions>;
|
|
|
12
12
|
declare function resolveOptions(context: Context): ViteOptions;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { resolveOptions as n, DEFAULT_VITE_CONFIG as t };
|
|
15
|
-
//# sourceMappingURL=resolve-options-
|
|
15
|
+
//# sourceMappingURL=resolve-options-D-xqROJb.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve-options-
|
|
1
|
+
{"version":3,"file":"resolve-options-D-xqROJb.d.mts","names":[],"sources":["../src/helpers/resolve-options.ts"],"sourcesContent":[],"mappings":";;;;cA4Ba,qBAAqB,QAAQ;;AAA1C;AAiBA;;;;iBAAgB,cAAA,UAAwB,UAAU"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_internal.d.cts","names":[],"sources":["../../src/types/_internal.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"_internal.d.cts","names":[],"sources":["../../src/types/_internal.ts"],"sourcesContent":[],"mappings":";;;;;;;AA0BA;;;AAEyB,KAFb,wBAEa,CAAA,wBADC,wBACD,GAD4B,wBAC5B,CAAA,GAArB,oBAAqB,CAAA,eAAA,CAAA;AAArB,2CAAA,GAAA,EAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../build-
|
|
2
|
-
import { r as VitePluginResolvedConfig } from "../plugin-
|
|
1
|
+
import "../build-BnD8f4L9.mjs";
|
|
2
|
+
import { r as VitePluginResolvedConfig } from "../plugin-BDnHvJzN.mjs";
|
|
3
3
|
import { UNSAFE_PluginContext } from "@powerlines/core/types/_internal";
|
|
4
4
|
|
|
5
5
|
//#region src/types/_internal.d.ts
|
package/dist/types/build.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../build-DJTI0ZMx.cjs');
|
package/dist/types/build.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as __ΩViteOptions, t as ViteOptions } from "../build-
|
|
1
|
+
import { n as __ΩViteOptions, t as ViteOptions } from "../build-BnD8f4L9.mjs";
|
|
2
2
|
export { ViteOptions, __ΩViteOptions };
|
package/dist/types/build.mjs
CHANGED
package/dist/types/index.cjs
CHANGED
package/dist/types/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as __ΩViteOptions, t as ViteOptions } from "../build-
|
|
2
|
-
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
3
|
-
import "../index-
|
|
1
|
+
import { n as __ΩViteOptions, t as ViteOptions } from "../build-BnD8f4L9.mjs";
|
|
2
|
+
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "../plugin-BDnHvJzN.mjs";
|
|
3
|
+
import "../index-C-svZlpj.mjs";
|
|
4
4
|
export { ViteOptions, VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, VitePluginUserConfig, __ΩViteOptions, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig, __ΩVitePluginUserConfig };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require('../plugin-D5qyQPqC.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import "../build-DVley5x8.cjs";
|
|
2
1
|
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "../plugin-BMA81Whw.cjs";
|
|
3
2
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, VitePluginUserConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig, __ΩVitePluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../build-
|
|
2
|
-
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "../plugin-
|
|
1
|
+
import "../build-BnD8f4L9.mjs";
|
|
2
|
+
import { a as __ΩVitePluginContext, c as __ΩVitePluginUserConfig, i as VitePluginUserConfig, n as VitePluginOptions, o as __ΩVitePluginOptions, r as VitePluginResolvedConfig, s as __ΩVitePluginResolvedConfig, t as VitePluginContext } from "../plugin-BDnHvJzN.mjs";
|
|
3
3
|
export { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, VitePluginUserConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig, __ΩVitePluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as VitePluginContext } from "./plugin-
|
|
1
|
+
import { t as VitePluginContext } from "./plugin-BDnHvJzN.mjs";
|
|
2
2
|
import * as vite0 from "vite";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/unplugin.d.ts
|
|
5
5
|
declare function createVitePlugin(context: VitePluginContext): vite0.Plugin<any> | vite0.Plugin<any>[];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { createVitePlugin as t };
|
|
8
|
-
//# sourceMappingURL=unplugin-
|
|
8
|
+
//# sourceMappingURL=unplugin-B_SxYRZq.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unplugin-B_SxYRZq.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,gBAAA,UAA0B,oBAAiB,KAAA,CAAA,cAAA,KAAA,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-vite",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.307",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"keywords": ["vite", "powerlines", "storm-software", "powerlines-plugin"],
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"peerDependencies": { "vite": ">=8.0.0" },
|
|
80
80
|
"peerDependenciesMeta": { "vite": { "optional": false } },
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@powerlines/core": "^0.1.
|
|
83
|
-
"@powerlines/plugin-rolldown": "^0.7.
|
|
84
|
-
"@powerlines/plugin-rollup": "^0.7.
|
|
85
|
-
"@powerlines/plugin-esbuild": "^0.13.
|
|
82
|
+
"@powerlines/core": "^0.1.3",
|
|
83
|
+
"@powerlines/plugin-rolldown": "^0.7.315",
|
|
84
|
+
"@powerlines/plugin-rollup": "^0.7.315",
|
|
85
|
+
"@powerlines/plugin-esbuild": "^0.13.314",
|
|
86
86
|
"defu": "^6.1.4",
|
|
87
|
-
"unplugin": "3.0.0
|
|
87
|
+
"unplugin": "^3.0.0"
|
|
88
88
|
},
|
|
89
|
-
"devDependencies": { "@types/node": "^25.3.3", "vite": "8.0.0-beta.
|
|
89
|
+
"devDependencies": { "@types/node": "^25.3.3", "vite": "8.0.0-beta.16" },
|
|
90
90
|
"publishConfig": { "access": "public" },
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "715dc00d92fc88e48731e5a23c0aed6585031ebd"
|
|
92
92
|
}
|
package/dist/types-Cn_AzV39.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
package/dist/types-D208vOSb.cjs
DELETED
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unplugin-CyIe8bFZ.d.mts","names":[],"sources":["../src/helpers/unplugin.ts"],"sourcesContent":[],"mappings":";;;;iBAsBgB,gBAAA,UAA0B,oBAAiB,KAAA,CAAA,cAAA,KAAA,CAAA"}
|
|
File without changes
|