@powerlines/plugin-vite 0.14.300 → 0.14.301

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.
Files changed (155) hide show
  1. package/dist/build-CKSRktJj.d.mts +13 -0
  2. package/dist/build-CKSRktJj.d.mts.map +1 -0
  3. package/dist/build-DJTI0ZMx.cjs +0 -0
  4. package/dist/build-DVley5x8.d.cts +13 -0
  5. package/dist/build-DVley5x8.d.cts.map +1 -0
  6. package/dist/build-D_6wweLB.mjs +1 -0
  7. package/dist/helpers/index.cjs +6 -5
  8. package/dist/helpers/index.d.cts +5 -2
  9. package/dist/helpers/index.d.mts +5 -2
  10. package/dist/helpers/index.mjs +3 -2
  11. package/dist/helpers/resolve-options.cjs +3 -70
  12. package/dist/helpers/resolve-options.d.cts +3 -15
  13. package/dist/helpers/resolve-options.d.mts +3 -16
  14. package/dist/helpers/resolve-options.mjs +2 -68
  15. package/dist/helpers/unplugin.cjs +2 -11
  16. package/dist/helpers/unplugin.d.cts +4 -8
  17. package/dist/helpers/unplugin.d.mts +4 -8
  18. package/dist/helpers/unplugin.mjs +2 -11
  19. package/dist/helpers-DvTULET6.mjs +1 -0
  20. package/dist/helpers-yB1XkvQI.cjs +0 -0
  21. package/dist/index-B8OHl-c_.d.mts +1 -0
  22. package/dist/index-C-svZlpj.d.mts +1 -0
  23. package/dist/index-CFG0_wK4.d.cts +1 -0
  24. package/dist/index-CtCMUyZA.d.cts +1 -0
  25. package/dist/index.cjs +13 -11
  26. package/dist/index.d.cts +7 -5
  27. package/dist/index.d.cts.map +1 -1
  28. package/dist/index.d.mts +7 -8
  29. package/dist/index.d.mts.map +1 -1
  30. package/dist/index.mjs +6 -3
  31. package/dist/index.mjs.map +1 -1
  32. package/dist/plugin-CfromG2s.d.cts +22 -0
  33. package/dist/plugin-CfromG2s.d.cts.map +1 -0
  34. package/dist/plugin-D5qyQPqC.cjs +0 -0
  35. package/dist/plugin-DIEwkIcq.d.mts +22 -0
  36. package/dist/plugin-DIEwkIcq.d.mts.map +1 -0
  37. package/dist/plugin-HyYPEfea.mjs +1 -0
  38. package/dist/resolve-options-CGWH6O9W.cjs +113 -0
  39. package/dist/resolve-options-CZfGIJwj.mjs +69 -0
  40. package/dist/resolve-options-CZfGIJwj.mjs.map +1 -0
  41. package/dist/resolve-options-Cjw3kuSJ.d.cts +15 -0
  42. package/dist/resolve-options-Cjw3kuSJ.d.cts.map +1 -0
  43. package/dist/resolve-options-DDD8d7th.d.mts +15 -0
  44. package/dist/resolve-options-DDD8d7th.d.mts.map +1 -0
  45. package/dist/types/_internal.d.cts +3 -2
  46. package/dist/types/_internal.d.cts.map +1 -1
  47. package/dist/types/_internal.d.mts +3 -2
  48. package/dist/types/_internal.d.mts.map +1 -1
  49. package/dist/types/build.cjs +1 -0
  50. package/dist/types/build.d.cts +2 -13
  51. package/dist/types/build.d.mts +2 -13
  52. package/dist/types/build.mjs +2 -0
  53. package/dist/types/index.cjs +3 -0
  54. package/dist/types/index.d.cts +3 -2
  55. package/dist/types/index.d.mts +3 -2
  56. package/dist/types/index.mjs +4 -0
  57. package/dist/types/plugin.cjs +1 -0
  58. package/dist/types/plugin.d.cts +3 -23
  59. package/dist/types/plugin.d.mts +3 -24
  60. package/dist/types/plugin.mjs +2 -0
  61. package/dist/types-Cn_AzV39.mjs +1 -0
  62. package/dist/types-D208vOSb.cjs +0 -0
  63. package/dist/unplugin-BIIMkEyS.cjs +16 -0
  64. package/dist/unplugin-CmW69N5s.mjs +11 -0
  65. package/dist/unplugin-CmW69N5s.mjs.map +1 -0
  66. package/dist/unplugin-DIdD8ka4.d.mts +8 -0
  67. package/dist/unplugin-DIdD8ka4.d.mts.map +1 -0
  68. package/dist/unplugin-hWdrpmFt.d.cts +8 -0
  69. package/dist/unplugin-hWdrpmFt.d.cts.map +1 -0
  70. package/package.json +6 -6
  71. package/dist/_virtual/rolldown_runtime.cjs +0 -29
  72. package/dist/core/src/lib/entry.cjs +0 -13
  73. package/dist/core/src/lib/entry.mjs +0 -15
  74. package/dist/core/src/lib/logger.cjs +0 -41
  75. package/dist/core/src/lib/logger.mjs +0 -40
  76. package/dist/core/src/lib/logger.mjs.map +0 -1
  77. package/dist/core/src/lib/unplugin/helpers.cjs +0 -19
  78. package/dist/core/src/lib/unplugin/helpers.mjs +0 -19
  79. package/dist/core/src/lib/unplugin/helpers.mjs.map +0 -1
  80. package/dist/core/src/lib/unplugin/index.cjs +0 -3
  81. package/dist/core/src/lib/unplugin/index.mjs +0 -5
  82. package/dist/core/src/lib/unplugin/module-resolution.cjs +0 -66
  83. package/dist/core/src/lib/unplugin/module-resolution.mjs +0 -66
  84. package/dist/core/src/lib/unplugin/module-resolution.mjs.map +0 -1
  85. package/dist/core/src/lib/unplugin/plugin.cjs +0 -71
  86. package/dist/core/src/lib/unplugin/plugin.mjs +0 -71
  87. package/dist/core/src/lib/unplugin/plugin.mjs.map +0 -1
  88. package/dist/core/src/lib/utilities/source-file.cjs +0 -22
  89. package/dist/core/src/lib/utilities/source-file.mjs +0 -21
  90. package/dist/core/src/lib/utilities/source-file.mjs.map +0 -1
  91. package/dist/core/src/plugin-utils/paths.cjs +0 -2
  92. package/dist/core/src/plugin-utils/paths.mjs +0 -4
  93. package/dist/core/src/types/_internal.d.cts +0 -85
  94. package/dist/core/src/types/_internal.d.cts.map +0 -1
  95. package/dist/core/src/types/_internal.d.mts +0 -85
  96. package/dist/core/src/types/_internal.d.mts.map +0 -1
  97. package/dist/core/src/types/api.d.cts +0 -103
  98. package/dist/core/src/types/api.d.cts.map +0 -1
  99. package/dist/core/src/types/api.d.mts +0 -103
  100. package/dist/core/src/types/api.d.mts.map +0 -1
  101. package/dist/core/src/types/commands.d.cts +0 -9
  102. package/dist/core/src/types/commands.d.cts.map +0 -1
  103. package/dist/core/src/types/commands.d.mts +0 -10
  104. package/dist/core/src/types/commands.d.mts.map +0 -1
  105. package/dist/core/src/types/config.d.cts +0 -552
  106. package/dist/core/src/types/config.d.cts.map +0 -1
  107. package/dist/core/src/types/config.d.mts +0 -552
  108. package/dist/core/src/types/config.d.mts.map +0 -1
  109. package/dist/core/src/types/context.d.cts +0 -511
  110. package/dist/core/src/types/context.d.cts.map +0 -1
  111. package/dist/core/src/types/context.d.mts +0 -511
  112. package/dist/core/src/types/context.d.mts.map +0 -1
  113. package/dist/core/src/types/fs.d.cts +0 -487
  114. package/dist/core/src/types/fs.d.cts.map +0 -1
  115. package/dist/core/src/types/fs.d.mts +0 -487
  116. package/dist/core/src/types/fs.d.mts.map +0 -1
  117. package/dist/core/src/types/hooks.d.cts +0 -99
  118. package/dist/core/src/types/hooks.d.cts.map +0 -1
  119. package/dist/core/src/types/hooks.d.mts +0 -99
  120. package/dist/core/src/types/hooks.d.mts.map +0 -1
  121. package/dist/core/src/types/index.d.mts +0 -9
  122. package/dist/core/src/types/plugin.d.cts +0 -204
  123. package/dist/core/src/types/plugin.d.cts.map +0 -1
  124. package/dist/core/src/types/plugin.d.mts +0 -204
  125. package/dist/core/src/types/plugin.d.mts.map +0 -1
  126. package/dist/core/src/types/tsconfig.d.cts +0 -70
  127. package/dist/core/src/types/tsconfig.d.cts.map +0 -1
  128. package/dist/core/src/types/tsconfig.d.mts +0 -70
  129. package/dist/core/src/types/tsconfig.d.mts.map +0 -1
  130. package/dist/core/src/types/unplugin.cjs +0 -21
  131. package/dist/core/src/types/unplugin.d.cts +0 -24
  132. package/dist/core/src/types/unplugin.d.cts.map +0 -1
  133. package/dist/core/src/types/unplugin.d.mts +0 -25
  134. package/dist/core/src/types/unplugin.d.mts.map +0 -1
  135. package/dist/core/src/types/unplugin.mjs +0 -22
  136. package/dist/core/src/types/unplugin.mjs.map +0 -1
  137. package/dist/helpers/resolve-options.d.cts.map +0 -1
  138. package/dist/helpers/resolve-options.d.mts.map +0 -1
  139. package/dist/helpers/resolve-options.mjs.map +0 -1
  140. package/dist/helpers/unplugin.d.cts.map +0 -1
  141. package/dist/helpers/unplugin.d.mts.map +0 -1
  142. package/dist/helpers/unplugin.mjs.map +0 -1
  143. package/dist/plugin-esbuild/src/helpers/resolve-options.cjs +0 -74
  144. package/dist/plugin-esbuild/src/helpers/resolve-options.mjs +0 -73
  145. package/dist/plugin-esbuild/src/helpers/resolve-options.mjs.map +0 -1
  146. package/dist/plugin-rolldown/src/helpers/resolve-options.cjs +0 -122
  147. package/dist/plugin-rolldown/src/helpers/resolve-options.mjs +0 -117
  148. package/dist/plugin-rolldown/src/helpers/resolve-options.mjs.map +0 -1
  149. package/dist/plugin-rollup/src/helpers/resolve-options.cjs +0 -123
  150. package/dist/plugin-rollup/src/helpers/resolve-options.mjs +0 -116
  151. package/dist/plugin-rollup/src/helpers/resolve-options.mjs.map +0 -1
  152. package/dist/types/build.d.cts.map +0 -1
  153. package/dist/types/build.d.mts.map +0 -1
  154. package/dist/types/plugin.d.cts.map +0 -1
  155. package/dist/types/plugin.d.mts.map +0 -1
@@ -0,0 +1,13 @@
1
+ import { DepOptimizationOptions, UserConfig } from "vite";
2
+
3
+ //#region src/types/build.d.ts
4
+ type ViteOptions = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external"> & {
5
+ /**
6
+ * Optimize deps config
7
+ */
8
+ optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
9
+ };
10
+ declare type __ΩViteOptions = any[];
11
+ //#endregion
12
+ export { __ΩViteOptions as n, ViteOptions as t };
13
+ //# sourceMappingURL=build-CKSRktJj.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-CKSRktJj.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"}
File without changes
@@ -0,0 +1,13 @@
1
+ import { DepOptimizationOptions, UserConfig } from "vite";
2
+
3
+ //#region src/types/build.d.ts
4
+ type ViteOptions = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output" | "platform" | "define" | "external"> & {
5
+ /**
6
+ * Optimize deps config
7
+ */
8
+ optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
9
+ };
10
+ declare type __ΩViteOptions = any[];
11
+ //#endregion
12
+ export { __ΩViteOptions as n, ViteOptions as t };
13
+ //# sourceMappingURL=build-DVley5x8.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"build-DVley5x8.d.cts","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"}
@@ -0,0 +1 @@
1
+ export { };
@@ -1,6 +1,7 @@
1
- const require_helpers_resolve_options = require('./resolve-options.cjs');
2
- const require_helpers_unplugin = require('./unplugin.cjs');
1
+ const require_resolve_options = require('../resolve-options-CGWH6O9W.cjs');
2
+ const require_unplugin = require('../unplugin-BIIMkEyS.cjs');
3
+ require('../helpers-yB1XkvQI.cjs');
3
4
 
4
- exports.DEFAULT_VITE_CONFIG = require_helpers_resolve_options.DEFAULT_VITE_CONFIG;
5
- exports.createVitePlugin = require_helpers_unplugin.createVitePlugin;
6
- exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
5
+ exports.DEFAULT_VITE_CONFIG = require_resolve_options.DEFAULT_VITE_CONFIG;
6
+ exports.createVitePlugin = require_unplugin.createVitePlugin;
7
+ exports.resolveOptions = require_resolve_options.resolveOptions;
@@ -1,3 +1,6 @@
1
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./resolve-options.cjs";
2
- import { createVitePlugin } from "./unplugin.cjs";
1
+ import "../build-DVley5x8.cjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-Cjw3kuSJ.cjs";
3
+ import "../plugin-CfromG2s.cjs";
4
+ import { t as createVitePlugin } from "../unplugin-hWdrpmFt.cjs";
5
+ import "../index-CtCMUyZA.cjs";
3
6
  export { DEFAULT_VITE_CONFIG, createVitePlugin, resolveOptions };
@@ -1,3 +1,6 @@
1
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./resolve-options.mjs";
2
- import { createVitePlugin } from "./unplugin.mjs";
1
+ import "../build-CKSRktJj.mjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-DDD8d7th.mjs";
3
+ import "../plugin-DIEwkIcq.mjs";
4
+ import { t as createVitePlugin } from "../unplugin-DIdD8ka4.mjs";
5
+ import "../index-C-svZlpj.mjs";
3
6
  export { DEFAULT_VITE_CONFIG, createVitePlugin, resolveOptions };
@@ -1,4 +1,5 @@
1
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./resolve-options.mjs";
2
- import { createVitePlugin } from "./unplugin.mjs";
1
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-CZfGIJwj.mjs";
2
+ import { t as createVitePlugin } from "../unplugin-CmW69N5s.mjs";
3
+ import "../helpers-DvTULET6.mjs";
3
4
 
4
5
  export { DEFAULT_VITE_CONFIG, createVitePlugin, resolveOptions };
@@ -1,71 +1,4 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_resolve_options = require('../plugin-esbuild/src/helpers/resolve-options.cjs');
3
- const require_resolve_options$1 = require('../plugin-rollup/src/helpers/resolve-options.cjs');
4
- const require_resolve_options$2 = require('../plugin-rolldown/src/helpers/resolve-options.cjs');
5
- let defu = require("defu");
6
- defu = require_rolldown_runtime.__toESM(defu);
7
- let __stryke_path_join_paths = require("@stryke/path/join-paths");
1
+ const require_resolve_options = require('../resolve-options-CGWH6O9W.cjs');
8
2
 
9
- //#region src/helpers/resolve-options.ts
10
- const DEFAULT_VITE_CONFIG = {
11
- resolve: { extensions: [
12
- ".mjs",
13
- ".js",
14
- ".mts",
15
- ".ts",
16
- ".jsx",
17
- ".tsx",
18
- ".json"
19
- ] },
20
- json: { stringify: true },
21
- logLevel: "silent",
22
- clearScreen: true
23
- };
24
- /**
25
- * Resolves the options for [vite](https://vitejs.dev/).
26
- *
27
- * @param context - The build context.
28
- * @returns The resolved options.
29
- */
30
- function resolveOptions(context) {
31
- return (0, defu.default)({ resolve: {
32
- alias: Object.entries(context.alias).reduce((ret, [id, path]) => {
33
- if (!ret.find((e) => e.find === id)) ret.push({
34
- find: id,
35
- replacement: path
36
- });
37
- else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
38
- return ret;
39
- }, []),
40
- dedupe: context.config.resolve.dedupe,
41
- mainFields: context.config.resolve.mainFields,
42
- conditions: context.config.resolve.conditions,
43
- extensions: context.config.resolve.extensions
44
- } }, context.config.vite ? (0, defu.default)(context.config.vite, { optimizeDeps: context.config.vite?.optimizeDeps ?? {} }, { optimizeDeps: { extensions: context.config.resolve.extensions } }) : {}, {
45
- define: context.config.define,
46
- rootDir: context.fs.existsSync((0, __stryke_path_join_paths.joinPaths)(context.config.root, "src")) ? (0, __stryke_path_join_paths.joinPaths)(context.config.root, "src") : context.config.root,
47
- platform: context.config.platform,
48
- mode: context.config.mode === "development" ? "development" : "production",
49
- cacheDir: (0, __stryke_path_join_paths.joinPaths)(context.cachePath, "vite"),
50
- build: {
51
- minify: context.config.mode !== "development",
52
- metafile: context.config.mode === "development",
53
- sourcemap: context.config.mode === "development",
54
- outDir: context.config.output.buildPath,
55
- tsconfig: context.tsconfig.tsconfigFilePath,
56
- tsconfigRaw: context.tsconfig.tsconfigJson
57
- },
58
- esbuild: require_resolve_options.resolveOptions(context),
59
- optimizeDeps: {
60
- rolldownOptions: require_resolve_options$2.resolveOptions(context),
61
- rollupOptions: require_resolve_options$1.resolveOptions(context),
62
- esbuildOptions: require_resolve_options.resolveOptions(context)
63
- },
64
- logLevel: context.config.logLevel ?? void 0,
65
- envDir: context.config.root
66
- }, DEFAULT_VITE_CONFIG);
67
- }
68
-
69
- //#endregion
70
- exports.DEFAULT_VITE_CONFIG = DEFAULT_VITE_CONFIG;
71
- exports.resolveOptions = resolveOptions;
3
+ exports.DEFAULT_VITE_CONFIG = require_resolve_options.DEFAULT_VITE_CONFIG;
4
+ exports.resolveOptions = require_resolve_options.resolveOptions;
@@ -1,15 +1,3 @@
1
- import { Context } from "../core/src/types/context.cjs";
2
- import { ViteOptions } from "../types/build.cjs";
3
-
4
- //#region src/helpers/resolve-options.d.ts
5
- declare const DEFAULT_VITE_CONFIG: Partial<ViteOptions>;
6
- /**
7
- * Resolves the options for [vite](https://vitejs.dev/).
8
- *
9
- * @param context - The build context.
10
- * @returns The resolved options.
11
- */
12
- declare function resolveOptions(context: Context): ViteOptions;
13
- //#endregion
14
- export { DEFAULT_VITE_CONFIG, resolveOptions };
15
- //# sourceMappingURL=resolve-options.d.cts.map
1
+ import "../build-DVley5x8.cjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-Cjw3kuSJ.cjs";
3
+ export { DEFAULT_VITE_CONFIG, resolveOptions };
@@ -1,16 +1,3 @@
1
- import { Context } from "../core/src/types/context.mjs";
2
- import "../core/src/types/index.mjs";
3
- import { ViteOptions } from "../types/build.mjs";
4
-
5
- //#region src/helpers/resolve-options.d.ts
6
- declare const DEFAULT_VITE_CONFIG: Partial<ViteOptions>;
7
- /**
8
- * Resolves the options for [vite](https://vitejs.dev/).
9
- *
10
- * @param context - The build context.
11
- * @returns The resolved options.
12
- */
13
- declare function resolveOptions(context: Context): ViteOptions;
14
- //#endregion
15
- export { DEFAULT_VITE_CONFIG, resolveOptions };
16
- //# sourceMappingURL=resolve-options.d.mts.map
1
+ import "../build-CKSRktJj.mjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-DDD8d7th.mjs";
3
+ export { DEFAULT_VITE_CONFIG, resolveOptions };
@@ -1,69 +1,3 @@
1
- import { resolveOptions as resolveOptions$1 } from "../plugin-esbuild/src/helpers/resolve-options.mjs";
2
- import { resolveOptions as resolveOptions$3 } from "../plugin-rollup/src/helpers/resolve-options.mjs";
3
- import { resolveOptions as resolveOptions$2 } from "../plugin-rolldown/src/helpers/resolve-options.mjs";
4
- import defu from "defu";
5
- import { joinPaths } from "@stryke/path/join-paths";
1
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "../resolve-options-CZfGIJwj.mjs";
6
2
 
7
- //#region src/helpers/resolve-options.ts
8
- const DEFAULT_VITE_CONFIG = {
9
- resolve: { extensions: [
10
- ".mjs",
11
- ".js",
12
- ".mts",
13
- ".ts",
14
- ".jsx",
15
- ".tsx",
16
- ".json"
17
- ] },
18
- json: { stringify: true },
19
- logLevel: "silent",
20
- clearScreen: true
21
- };
22
- /**
23
- * Resolves the options for [vite](https://vitejs.dev/).
24
- *
25
- * @param context - The build context.
26
- * @returns The resolved options.
27
- */
28
- function resolveOptions(context) {
29
- return defu({ resolve: {
30
- alias: Object.entries(context.alias).reduce((ret, [id, path]) => {
31
- if (!ret.find((e) => e.find === id)) ret.push({
32
- find: id,
33
- replacement: path
34
- });
35
- else context.warn(`Duplicate alias entry for '${id}' detected. The first entry will be used.`);
36
- return ret;
37
- }, []),
38
- dedupe: context.config.resolve.dedupe,
39
- mainFields: context.config.resolve.mainFields,
40
- conditions: context.config.resolve.conditions,
41
- extensions: context.config.resolve.extensions
42
- } }, context.config.vite ? defu(context.config.vite, { optimizeDeps: context.config.vite?.optimizeDeps ?? {} }, { optimizeDeps: { extensions: context.config.resolve.extensions } }) : {}, {
43
- define: context.config.define,
44
- rootDir: context.fs.existsSync(joinPaths(context.config.root, "src")) ? joinPaths(context.config.root, "src") : context.config.root,
45
- platform: context.config.platform,
46
- mode: context.config.mode === "development" ? "development" : "production",
47
- cacheDir: joinPaths(context.cachePath, "vite"),
48
- build: {
49
- minify: context.config.mode !== "development",
50
- metafile: context.config.mode === "development",
51
- sourcemap: context.config.mode === "development",
52
- outDir: context.config.output.buildPath,
53
- tsconfig: context.tsconfig.tsconfigFilePath,
54
- tsconfigRaw: context.tsconfig.tsconfigJson
55
- },
56
- esbuild: resolveOptions$1(context),
57
- optimizeDeps: {
58
- rolldownOptions: resolveOptions$2(context),
59
- rollupOptions: resolveOptions$3(context),
60
- esbuildOptions: resolveOptions$1(context)
61
- },
62
- logLevel: context.config.logLevel ?? void 0,
63
- envDir: context.config.root
64
- }, DEFAULT_VITE_CONFIG);
65
- }
66
-
67
- //#endregion
68
- export { DEFAULT_VITE_CONFIG, resolveOptions };
69
- //# sourceMappingURL=resolve-options.mjs.map
3
+ export { DEFAULT_VITE_CONFIG, resolveOptions };
@@ -1,12 +1,3 @@
1
- const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
- const require_plugin = require('../core/src/lib/unplugin/plugin.cjs');
3
- require('../core/src/lib/unplugin/index.cjs');
4
- let unplugin = require("unplugin");
1
+ const require_unplugin = require('../unplugin-BIIMkEyS.cjs');
5
2
 
6
- //#region src/helpers/unplugin.ts
7
- function createVitePlugin(context) {
8
- return (0, unplugin.createVitePlugin)(require_plugin.createUnplugin(context))({});
9
- }
10
-
11
- //#endregion
12
- exports.createVitePlugin = createVitePlugin;
3
+ exports.createVitePlugin = require_unplugin.createVitePlugin;
@@ -1,8 +1,4 @@
1
- import { VitePluginContext } from "../types/plugin.cjs";
2
- import * as vite0 from "vite";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createVitePlugin(context: VitePluginContext): vite0.Plugin<any> | vite0.Plugin<any>[];
6
- //#endregion
7
- export { createVitePlugin };
8
- //# sourceMappingURL=unplugin.d.cts.map
1
+ import "../build-DVley5x8.cjs";
2
+ import "../plugin-CfromG2s.cjs";
3
+ import { t as createVitePlugin } from "../unplugin-hWdrpmFt.cjs";
4
+ export { createVitePlugin };
@@ -1,8 +1,4 @@
1
- import { VitePluginContext } from "../types/plugin.mjs";
2
- import * as vite0 from "vite";
3
-
4
- //#region src/helpers/unplugin.d.ts
5
- declare function createVitePlugin(context: VitePluginContext): vite0.Plugin<any> | vite0.Plugin<any>[];
6
- //#endregion
7
- export { createVitePlugin };
8
- //# sourceMappingURL=unplugin.d.mts.map
1
+ import "../build-CKSRktJj.mjs";
2
+ import "../plugin-DIEwkIcq.mjs";
3
+ import { t as createVitePlugin } from "../unplugin-DIdD8ka4.mjs";
4
+ export { createVitePlugin };
@@ -1,12 +1,3 @@
1
- import { createUnplugin } from "../core/src/lib/unplugin/plugin.mjs";
2
- import "../core/src/lib/unplugin/index.mjs";
3
- import { createVitePlugin as createVitePlugin$1 } from "unplugin";
1
+ import { t as createVitePlugin } from "../unplugin-CmW69N5s.mjs";
4
2
 
5
- //#region src/helpers/unplugin.ts
6
- function createVitePlugin(context) {
7
- return createVitePlugin$1(createUnplugin(context))({});
8
- }
9
-
10
- //#endregion
11
- export { createVitePlugin };
12
- //# sourceMappingURL=unplugin.mjs.map
3
+ export { createVitePlugin };
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
package/dist/index.cjs CHANGED
@@ -1,10 +1,12 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
- const require_helpers_resolve_options = require('./helpers/resolve-options.cjs');
4
- const require_helpers_unplugin = require('./helpers/unplugin.cjs');
5
- require('./helpers/index.cjs');
2
+ const require_resolve_options = require('./resolve-options-CGWH6O9W.cjs');
3
+ const require_unplugin = require('./unplugin-BIIMkEyS.cjs');
4
+ require('./helpers-yB1XkvQI.cjs');
5
+ require('./build-DJTI0ZMx.cjs');
6
+ require('./plugin-D5qyQPqC.cjs');
7
+ require('./types-D208vOSb.cjs');
6
8
  let defu = require("defu");
7
- defu = require_rolldown_runtime.__toESM(defu);
9
+ defu = require_resolve_options.__toESM(defu);
8
10
  let vite = require("vite");
9
11
 
10
12
  //#region src/index.ts
@@ -19,7 +21,7 @@ const plugin = (options = {}) => {
19
21
  return {
20
22
  output: { format: ["cjs", "esm"] },
21
23
  vite: {
22
- ...require_helpers_resolve_options.DEFAULT_VITE_CONFIG,
24
+ ...require_resolve_options.DEFAULT_VITE_CONFIG,
23
25
  ...options
24
26
  },
25
27
  singleBuild: true
@@ -33,16 +35,16 @@ const plugin = (options = {}) => {
33
35
  await (0, vite.build)((0, defu.default)({
34
36
  config: false,
35
37
  entry: this.entry,
36
- environments: Object.fromEntries(Object.entries(environments).map(([name, env]) => [name, require_helpers_resolve_options.resolveOptions(env)]))
37
- }, require_helpers_resolve_options.resolveOptions(this), { plugins: [require_helpers_unplugin.createVitePlugin(this)] }));
38
+ environments: Object.fromEntries(Object.entries(environments).map(([name, env]) => [name, require_resolve_options.resolveOptions(env)]))
39
+ }, require_resolve_options.resolveOptions(this), { plugins: [require_unplugin.createVitePlugin(this)] }));
38
40
  }
39
41
  };
40
42
  };
41
43
  var src_default = plugin;
42
44
 
43
45
  //#endregion
44
- exports.DEFAULT_VITE_CONFIG = require_helpers_resolve_options.DEFAULT_VITE_CONFIG;
45
- exports.createVitePlugin = require_helpers_unplugin.createVitePlugin;
46
+ exports.DEFAULT_VITE_CONFIG = require_resolve_options.DEFAULT_VITE_CONFIG;
47
+ exports.createVitePlugin = require_unplugin.createVitePlugin;
46
48
  exports.default = src_default;
47
49
  exports.plugin = plugin;
48
- exports.resolveOptions = require_helpers_resolve_options.resolveOptions;
50
+ exports.resolveOptions = require_resolve_options.resolveOptions;
package/dist/index.d.cts CHANGED
@@ -1,8 +1,10 @@
1
- import { Plugin } from "./core/src/types/plugin.cjs";
2
- import { ViteOptions, __ΩViteOptions } from "./types/build.cjs";
3
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./helpers/resolve-options.cjs";
4
- import { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, VitePluginUserConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig, __ΩVitePluginUserConfig } from "./types/plugin.cjs";
5
- import { createVitePlugin } from "./helpers/unplugin.cjs";
1
+ import { n as __ΩViteOptions, t as ViteOptions } from "./build-DVley5x8.cjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-Cjw3kuSJ.cjs";
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-CfromG2s.cjs";
4
+ import { t as createVitePlugin } from "./unplugin-hWdrpmFt.cjs";
5
+ import "./index-CtCMUyZA.cjs";
6
+ import "./index-CFG0_wK4.cjs";
7
+ import { Plugin } from "@powerlines/core/types";
6
8
 
7
9
  //#region src/index.d.ts
8
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAoCa,cAAA,MAwDZ,EAAA,CAAA,iBAxDuC,iBAwDvC,GAxD2D,iBAwD3D,CAAA,CAAA,OAAA,CAAA,EAvDU,iBAuDV,EAAA,GAtDE,MAsDF,CAtDS,QAsDT,CAAA"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAoCa,0BAA2B,oBAAoB,6BACjD,sBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,11 +1,10 @@
1
- import { Plugin } from "./core/src/types/plugin.mjs";
2
- import "./core/src/types/index.mjs";
3
- import { ViteOptions, __ΩViteOptions } from "./types/build.mjs";
4
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./helpers/resolve-options.mjs";
5
- import { VitePluginContext, VitePluginOptions, VitePluginResolvedConfig, VitePluginUserConfig, __ΩVitePluginContext, __ΩVitePluginOptions, __ΩVitePluginResolvedConfig, __ΩVitePluginUserConfig } from "./types/plugin.mjs";
6
- import { createVitePlugin } from "./helpers/unplugin.mjs";
7
- import "./helpers/index.mjs";
8
- import "./types/index.mjs";
1
+ import { n as __ΩViteOptions, t as ViteOptions } from "./build-CKSRktJj.mjs";
2
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-DDD8d7th.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-DIEwkIcq.mjs";
4
+ import { t as createVitePlugin } from "./unplugin-DIdD8ka4.mjs";
5
+ import "./index-C-svZlpj.mjs";
6
+ import "./index-B8OHl-c_.mjs";
7
+ import { Plugin } from "@powerlines/core/types";
9
8
 
10
9
  //#region src/index.d.ts
11
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;cAoCa,0BAA2B,oBAAoB,6BACjD,sBACR,OAAO"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;cAoCa,0BAA2B,oBAAoB,6BACjD,sBACR,OAAO"}
package/dist/index.mjs CHANGED
@@ -1,6 +1,9 @@
1
- import { DEFAULT_VITE_CONFIG, resolveOptions } from "./helpers/resolve-options.mjs";
2
- import { createVitePlugin } from "./helpers/unplugin.mjs";
3
- import "./helpers/index.mjs";
1
+ import { n as resolveOptions, t as DEFAULT_VITE_CONFIG } from "./resolve-options-CZfGIJwj.mjs";
2
+ import { t as createVitePlugin } from "./unplugin-CmW69N5s.mjs";
3
+ import "./helpers-DvTULET6.mjs";
4
+ import "./build-D_6wweLB.mjs";
5
+ import "./plugin-HyYPEfea.mjs";
6
+ import "./types-Cn_AzV39.mjs";
4
7
  import defu from "defu";
5
8
  import { build } from "vite";
6
9
 
@@ -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/types\";\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\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":";;;;;;;;;;AAoCA,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
+ {"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/types\";\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\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":";;;;;;;;;;;;;AAoCA,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"}
@@ -0,0 +1,22 @@
1
+ import { t as ViteOptions } from "./build-DVley5x8.cjs";
2
+ import { ConfigEnv, PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ type VitePluginOptions = Partial<ViteOptions>;
6
+ interface VitePluginUserConfig extends UserConfig {
7
+ vite?: VitePluginOptions;
8
+ }
9
+ interface VitePluginResolvedConfig extends ResolvedConfig {
10
+ vite: ViteOptions;
11
+ }
12
+ type VitePluginContext<TResolvedConfig extends VitePluginResolvedConfig = VitePluginResolvedConfig> = PluginContext<TResolvedConfig> & {
13
+ dev: boolean;
14
+ configEnv: ConfigEnv;
15
+ };
16
+ declare type __ΩVitePluginOptions = any[];
17
+ declare type __ΩVitePluginUserConfig = any[];
18
+ declare type __ΩVitePluginResolvedConfig = any[];
19
+ declare type __ΩVitePluginContext = any[];
20
+ //#endregion
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-CfromG2s.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-CfromG2s.d.cts","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"}
File without changes
@@ -0,0 +1,22 @@
1
+ import { t as ViteOptions } from "./build-CKSRktJj.mjs";
2
+ import { ConfigEnv, PluginContext, ResolvedConfig, UserConfig } from "@powerlines/core/types";
3
+
4
+ //#region src/types/plugin.d.ts
5
+ type VitePluginOptions = Partial<ViteOptions>;
6
+ interface VitePluginUserConfig extends UserConfig {
7
+ vite?: VitePluginOptions;
8
+ }
9
+ interface VitePluginResolvedConfig extends ResolvedConfig {
10
+ vite: ViteOptions;
11
+ }
12
+ type VitePluginContext<TResolvedConfig extends VitePluginResolvedConfig = VitePluginResolvedConfig> = PluginContext<TResolvedConfig> & {
13
+ dev: boolean;
14
+ configEnv: ConfigEnv;
15
+ };
16
+ declare type __ΩVitePluginOptions = any[];
17
+ declare type __ΩVitePluginUserConfig = any[];
18
+ declare type __ΩVitePluginResolvedConfig = any[];
19
+ declare type __ΩVitePluginContext = any[];
20
+ //#endregion
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-DIEwkIcq.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-DIEwkIcq.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"}
@@ -0,0 +1 @@
1
+ export { };