powerlines 0.19.5 → 0.21.0

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 (315) hide show
  1. package/dist/api.cjs +4 -4
  2. package/dist/api.d.cts +7 -8
  3. package/dist/api.d.ts +7 -8
  4. package/dist/api.js +3 -3
  5. package/dist/astro.cjs +10 -10
  6. package/dist/astro.d.cts +1 -2
  7. package/dist/astro.d.ts +1 -2
  8. package/dist/astro.js +7 -7
  9. package/dist/{chunk-MLAYLHZO.js → chunk-237NITCY.js} +20 -5
  10. package/dist/{chunk-5PRY6OJM.cjs → chunk-2HNC5JVK.cjs} +2 -2
  11. package/dist/{chunk-AEJIVPUZ.js → chunk-2Q2PSPZK.js} +1 -1
  12. package/dist/{chunk-JPWBN72J.js → chunk-3FS7K4DZ.js} +1 -1
  13. package/dist/{chunk-BSGWY4AP.cjs → chunk-3JH36WUJ.cjs} +2 -2
  14. package/dist/{chunk-ZOUGUAQY.cjs → chunk-44UTUCBG.cjs} +34 -16
  15. package/dist/{chunk-KMELWYHW.cjs → chunk-6XRDZOE3.cjs} +967 -664
  16. package/dist/{chunk-YQZXG4X6.cjs → chunk-7C2NEC7D.cjs} +2 -2
  17. package/dist/{chunk-GQM2JCO3.js → chunk-A5GTERYN.js} +2 -2
  18. package/dist/chunk-B4KLWFY6.cjs +32 -0
  19. package/dist/{chunk-I4LLZ5BI.js → chunk-C5TKY75S.js} +1 -1
  20. package/dist/{chunk-TK6CN2KT.cjs → chunk-DMXXNXLS.cjs} +4 -4
  21. package/dist/{chunk-MCDMY6GK.cjs → chunk-F4BD5CXH.cjs} +2 -2
  22. package/dist/chunk-GRAVJX3I.js +29 -0
  23. package/dist/chunk-HV7SHEHD.cjs +118 -0
  24. package/dist/{chunk-WJ4CZKXY.js → chunk-JKBJF3UI.js} +1 -1
  25. package/dist/{chunk-BHPTTRBA.js → chunk-L4AXJFX2.js} +32 -14
  26. package/dist/{chunk-Z63SQZUB.cjs → chunk-LKYBC6DX.cjs} +4 -4
  27. package/dist/{chunk-RR7EC4RF.js → chunk-M6XGEVJY.js} +1 -1
  28. package/dist/{chunk-PAJB5K7A.js → chunk-NZXMP4J5.js} +3 -2
  29. package/dist/{chunk-GFINPIIK.js → chunk-OZU47JET.js} +1000 -704
  30. package/dist/{chunk-FCTNMPJF.cjs → chunk-PAMSESZV.cjs} +1 -1
  31. package/dist/chunk-PDFOF6ZP.js +112 -0
  32. package/dist/{chunk-7HKTQSUG.cjs → chunk-PJP4MECA.cjs} +4 -3
  33. package/dist/{chunk-OJSRHKHW.js → chunk-QQGXARP3.js} +1 -1
  34. package/dist/{chunk-ULFJBFI7.cjs → chunk-SQANNMRF.cjs} +22 -7
  35. package/dist/{chunk-HI3LNK6Q.js → chunk-SVDPKN3U.js} +1 -1
  36. package/dist/chunk-SVF4ATJR.cjs +8 -0
  37. package/dist/{chunk-A3FMGMBV.cjs → chunk-UVM4JAR3.cjs} +2 -2
  38. package/dist/{chunk-VICSRRKQ.js → chunk-WU7I52LM.js} +2 -2
  39. package/dist/{chunk-X5LPEBDE.cjs → chunk-WYJGOC3Y.cjs} +2 -2
  40. package/dist/{chunk-LIXKMZW5.cjs → chunk-YG5ORYN2.cjs} +2 -2
  41. package/dist/{chunk-HEG6IAVR.js → chunk-ZPOCM5XZ.js} +1 -1
  42. package/dist/chunk-ZWF7LZXE.js +5 -0
  43. package/dist/config.d.cts +1 -2
  44. package/dist/config.d.ts +1 -2
  45. package/dist/esbuild.cjs +9 -9
  46. package/dist/esbuild.d.cts +1 -2
  47. package/dist/esbuild.d.ts +1 -2
  48. package/dist/esbuild.js +6 -6
  49. package/dist/farm.cjs +5 -5
  50. package/dist/farm.d.cts +1 -2
  51. package/dist/farm.d.ts +1 -2
  52. package/dist/farm.js +4 -4
  53. package/dist/{hooks-C6t50M6a.d.cts → hooks-CJ1W5lrx.d.cts} +1 -1
  54. package/dist/{hooks-Bq2jUAKs.d.ts → hooks-CNEZpkMS.d.ts} +1 -1
  55. package/dist/index.cjs +45 -287
  56. package/dist/index.d.cts +3 -4
  57. package/dist/index.d.ts +3 -4
  58. package/dist/index.js +20 -244
  59. package/dist/lib/build/esbuild.cjs +5 -5
  60. package/dist/lib/build/esbuild.d.cts +3 -5
  61. package/dist/lib/build/esbuild.d.ts +3 -5
  62. package/dist/lib/build/esbuild.js +2 -2
  63. package/dist/lib/build/index.cjs +25 -25
  64. package/dist/lib/build/index.d.cts +3 -5
  65. package/dist/lib/build/index.d.ts +3 -5
  66. package/dist/lib/build/index.js +9 -9
  67. package/dist/lib/build/rolldown.cjs +3 -3
  68. package/dist/lib/build/rolldown.d.cts +1 -3
  69. package/dist/lib/build/rolldown.d.ts +1 -3
  70. package/dist/lib/build/rolldown.js +2 -2
  71. package/dist/lib/build/rollup.cjs +3 -3
  72. package/dist/lib/build/rollup.d.cts +1 -3
  73. package/dist/lib/build/rollup.d.ts +1 -3
  74. package/dist/lib/build/rollup.js +1 -1
  75. package/dist/lib/build/rspack.cjs +2 -2
  76. package/dist/lib/build/rspack.d.cts +1 -3
  77. package/dist/lib/build/rspack.d.ts +1 -3
  78. package/dist/lib/build/rspack.js +1 -1
  79. package/dist/lib/build/tsup.cjs +6 -6
  80. package/dist/lib/build/tsup.d.cts +1 -3
  81. package/dist/lib/build/tsup.d.ts +1 -3
  82. package/dist/lib/build/tsup.js +3 -3
  83. package/dist/lib/build/unbuild.cjs +5 -5
  84. package/dist/lib/build/unbuild.d.cts +2 -4
  85. package/dist/lib/build/unbuild.d.ts +2 -4
  86. package/dist/lib/build/unbuild.js +2 -2
  87. package/dist/lib/build/vite.cjs +5 -5
  88. package/dist/lib/build/vite.d.cts +1 -3
  89. package/dist/lib/build/vite.d.ts +1 -3
  90. package/dist/lib/build/vite.js +3 -3
  91. package/dist/lib/build/webpack.cjs +2 -2
  92. package/dist/lib/build/webpack.d.cts +1 -3
  93. package/dist/lib/build/webpack.d.ts +1 -3
  94. package/dist/lib/build/webpack.js +1 -1
  95. package/dist/lib/chunk-27VJFYDM.cjs +132 -0
  96. package/dist/lib/chunk-3G4C3YAU.js +124 -0
  97. package/dist/lib/{chunk-DX4TFRS3.js → chunk-43VJVIL2.js} +976 -681
  98. package/dist/lib/{chunk-5EXW3ZRC.cjs → chunk-4FX4VOLA.cjs} +25 -4
  99. package/dist/lib/{chunk-ADKYAHF5.js → chunk-5GM5UAUO.js} +32 -12
  100. package/dist/lib/{chunk-JB2JJXGW.js → chunk-5SADLYYK.js} +1 -1
  101. package/dist/lib/{chunk-KXCEN6Y4.js → chunk-5SP6QZLX.js} +1 -1
  102. package/dist/lib/{chunk-TNHDC2ZQ.cjs → chunk-7XHBIYIN.cjs} +1 -20
  103. package/dist/lib/{chunk-SM3S7DYW.js → chunk-BHDQZ6YX.js} +12 -2
  104. package/dist/lib/{chunk-F7IDAYLH.cjs → chunk-CSJ6KNIX.cjs} +12 -9
  105. package/dist/lib/{chunk-37W2ZDLA.cjs → chunk-E2MVGKGH.cjs} +2 -2
  106. package/dist/lib/{chunk-ET5QBFGZ.cjs → chunk-FN7673NC.cjs} +2 -2
  107. package/dist/lib/{chunk-67IBLMW6.cjs → chunk-GDXHCTCX.cjs} +14 -7
  108. package/dist/lib/{chunk-ESNHFT4V.cjs → chunk-HCOHRD3Q.cjs} +26 -13
  109. package/dist/lib/{chunk-SYHVP3OW.js → chunk-HOZ37BFN.js} +23 -4
  110. package/dist/lib/{chunk-7OHD3BD4.js → chunk-HQ5YA43H.js} +12 -9
  111. package/dist/lib/{chunk-47WZIAPZ.js → chunk-IOM7GRZU.js} +5 -8
  112. package/dist/lib/{chunk-WFUO3YPK.js → chunk-L4NEN725.js} +19 -4
  113. package/dist/lib/{chunk-MVSXEH4P.cjs → chunk-LAFEAMNN.cjs} +6 -9
  114. package/dist/lib/{chunk-7Y5MJRWF.js → chunk-LIN4KAV3.js} +57 -34
  115. package/dist/lib/{chunk-LJ4WO7TW.cjs → chunk-LMO7PRBP.cjs} +35 -13
  116. package/dist/lib/{chunk-4AMFNBTX.cjs → chunk-LPA7UJIR.cjs} +956 -659
  117. package/dist/lib/{chunk-OTBLE55Z.cjs → chunk-MPCVQK2D.cjs} +12 -1
  118. package/dist/lib/{chunk-5ASXKB2V.js → chunk-QAXCBFBP.js} +1 -1
  119. package/dist/lib/{chunk-N2EGPL2L.js → chunk-T7RMV2FW.js} +25 -12
  120. package/dist/lib/{chunk-7K7JH3DF.cjs → chunk-ULJVBW4L.cjs} +19 -4
  121. package/dist/lib/{chunk-UDJ37BEE.cjs → chunk-VGSV2BEL.cjs} +57 -34
  122. package/dist/lib/{chunk-AOKLB4V2.cjs → chunk-Y2BHXV33.cjs} +1 -1
  123. package/dist/lib/{chunk-GRJJZ5VJ.js → chunk-YH5GOJS3.js} +2 -15
  124. package/dist/lib/{chunk-Q3ERHHXJ.js → chunk-YV6MDKW4.js} +13 -6
  125. package/dist/lib/{config-LK_Wl1SU.d.cts → config-7vXtXiGg.d.cts} +204 -118
  126. package/dist/lib/{config-CnPcoKqT.d.ts → config-B9aVEiiX.d.ts} +204 -118
  127. package/dist/lib/config-file.d.cts +1 -3
  128. package/dist/lib/config-file.d.ts +1 -3
  129. package/dist/lib/create-program.d.cts +1 -3
  130. package/dist/lib/create-program.d.ts +1 -3
  131. package/dist/lib/entry.cjs +9 -9
  132. package/dist/lib/entry.d.cts +1 -3
  133. package/dist/lib/entry.d.ts +1 -3
  134. package/dist/lib/entry.js +1 -1
  135. package/dist/lib/{hooks-DX1o8l6J.d.ts → hooks-BxUBzqCb.d.ts} +1 -1
  136. package/dist/lib/{hooks-BD2rDhpA.d.cts → hooks-cvv50JDh.d.cts} +1 -1
  137. package/dist/lib/index.cjs +32 -28
  138. package/dist/lib/index.d.cts +326 -7
  139. package/dist/lib/index.d.ts +326 -7
  140. package/dist/lib/index.js +8 -8
  141. package/dist/lib/logger.d.cts +1 -3
  142. package/dist/lib/logger.d.ts +1 -3
  143. package/dist/lib/typescript/compiler-host.d.cts +1 -3
  144. package/dist/lib/typescript/compiler-host.d.ts +1 -3
  145. package/dist/lib/typescript/import-transformer.d.cts +1 -3
  146. package/dist/lib/typescript/import-transformer.d.ts +1 -3
  147. package/dist/lib/typescript/index.d.cts +1 -3
  148. package/dist/lib/typescript/index.d.ts +1 -3
  149. package/dist/lib/typescript/program.d.cts +1 -3
  150. package/dist/lib/typescript/program.d.ts +1 -3
  151. package/dist/lib/unplugin/factory.cjs +5 -5
  152. package/dist/lib/unplugin/factory.d.cts +7 -9
  153. package/dist/lib/unplugin/factory.d.ts +7 -9
  154. package/dist/lib/unplugin/factory.js +4 -4
  155. package/dist/lib/unplugin/index.cjs +8 -8
  156. package/dist/lib/unplugin/index.d.cts +2 -4
  157. package/dist/lib/unplugin/index.d.ts +2 -4
  158. package/dist/lib/unplugin/index.js +5 -5
  159. package/dist/lib/unplugin/plugin.cjs +3 -3
  160. package/dist/lib/unplugin/plugin.d.cts +1 -3
  161. package/dist/lib/unplugin/plugin.d.ts +1 -3
  162. package/dist/lib/unplugin/plugin.js +2 -2
  163. package/dist/lib/unplugin/resolve-id.cjs +2 -2
  164. package/dist/lib/unplugin/resolve-id.d.cts +1 -3
  165. package/dist/lib/unplugin/resolve-id.d.ts +1 -3
  166. package/dist/lib/unplugin/resolve-id.js +1 -1
  167. package/dist/lib/utilities/bundle.cjs +4 -4
  168. package/dist/lib/utilities/bundle.d.cts +1 -3
  169. package/dist/lib/utilities/bundle.d.ts +1 -3
  170. package/dist/lib/utilities/bundle.js +3 -3
  171. package/dist/lib/utilities/cache.d.cts +1 -3
  172. package/dist/lib/utilities/cache.d.ts +1 -3
  173. package/dist/lib/utilities/file-header.d.cts +1 -3
  174. package/dist/lib/utilities/file-header.d.ts +1 -3
  175. package/dist/lib/utilities/index.cjs +14 -14
  176. package/dist/lib/utilities/index.d.cts +1 -3
  177. package/dist/lib/utilities/index.d.ts +1 -3
  178. package/dist/lib/utilities/index.js +5 -5
  179. package/dist/lib/utilities/meta.cjs +8 -8
  180. package/dist/lib/utilities/meta.d.cts +1 -3
  181. package/dist/lib/utilities/meta.d.ts +1 -3
  182. package/dist/lib/utilities/meta.js +1 -1
  183. package/dist/lib/utilities/resolve-path.d.cts +1 -3
  184. package/dist/lib/utilities/resolve-path.d.ts +1 -3
  185. package/dist/lib/utilities/resolve.cjs +5 -5
  186. package/dist/lib/utilities/resolve.d.cts +1 -3
  187. package/dist/lib/utilities/resolve.d.ts +1 -3
  188. package/dist/lib/utilities/resolve.js +4 -4
  189. package/dist/lib/utilities/source-file.d.cts +1 -3
  190. package/dist/lib/utilities/source-file.d.ts +1 -3
  191. package/dist/lib/utilities/source-map.d.cts +1 -3
  192. package/dist/lib/utilities/source-map.d.ts +1 -3
  193. package/dist/lib/utilities/worker.d.cts +1 -3
  194. package/dist/lib/utilities/worker.d.ts +1 -3
  195. package/dist/lib/utilities/write-file.d.cts +1 -3
  196. package/dist/lib/utilities/write-file.d.ts +1 -3
  197. package/dist/next.cjs +9 -9
  198. package/dist/next.js +6 -6
  199. package/dist/nuxt.cjs +11 -11
  200. package/dist/nuxt.js +8 -8
  201. package/dist/plugin-utils/{chunk-YKIS7BLU.cjs → chunk-5MO4BCOW.cjs} +24 -0
  202. package/dist/plugin-utils/{chunk-HHFA3IEZ.js → chunk-CYVV2MB7.js} +24 -0
  203. package/dist/plugin-utils/{chunk-75UVEMIV.cjs → chunk-DZZPNO5H.cjs} +2 -2
  204. package/dist/plugin-utils/{chunk-WEIEQXIJ.cjs → chunk-ECFS7DPV.cjs} +5 -5
  205. package/dist/plugin-utils/{chunk-MQOW6ENT.cjs → chunk-F65J5WOX.cjs} +1 -1
  206. package/dist/plugin-utils/{chunk-IHME6YWJ.js → chunk-GV7O3E7P.js} +1 -1
  207. package/dist/plugin-utils/chunk-J33TXWF6.js +12 -0
  208. package/dist/plugin-utils/{chunk-PK6PYFWY.js → chunk-L277XSSN.js} +1 -1
  209. package/dist/plugin-utils/{chunk-YDYJAGMP.js → chunk-QKMG6ZAU.js} +1 -1
  210. package/dist/plugin-utils/chunk-QP6OJWFG.cjs +14 -0
  211. package/dist/plugin-utils/{chunk-5TL6KEQ5.cjs → chunk-UNAGYQRB.cjs} +4 -4
  212. package/dist/plugin-utils/{chunk-432MQOUZ.js → chunk-XIXI67PY.js} +1 -1
  213. package/dist/plugin-utils/{config-48EWGWXq.d.cts → config-BzVVjChJ.d.cts} +201 -115
  214. package/dist/plugin-utils/{config-48EWGWXq.d.ts → config-BzVVjChJ.d.ts} +201 -115
  215. package/dist/plugin-utils/enforce.cjs +5 -5
  216. package/dist/plugin-utils/enforce.d.cts +1 -3
  217. package/dist/plugin-utils/enforce.d.ts +1 -3
  218. package/dist/plugin-utils/enforce.js +4 -4
  219. package/dist/plugin-utils/extend.cjs +4 -4
  220. package/dist/plugin-utils/extend.d.cts +1 -3
  221. package/dist/plugin-utils/extend.d.ts +1 -3
  222. package/dist/plugin-utils/extend.js +3 -3
  223. package/dist/plugin-utils/get-config-path.cjs +2 -2
  224. package/dist/plugin-utils/get-config-path.d.cts +2 -4
  225. package/dist/plugin-utils/get-config-path.d.ts +2 -4
  226. package/dist/plugin-utils/get-config-path.js +1 -1
  227. package/dist/plugin-utils/helpers.cjs +14 -14
  228. package/dist/plugin-utils/helpers.d.cts +3 -5
  229. package/dist/plugin-utils/helpers.d.ts +3 -5
  230. package/dist/plugin-utils/helpers.js +1 -1
  231. package/dist/plugin-utils/index.cjs +24 -24
  232. package/dist/plugin-utils/index.d.cts +1 -3
  233. package/dist/plugin-utils/index.d.ts +1 -3
  234. package/dist/plugin-utils/index.js +6 -6
  235. package/dist/plugin-utils/merge.cjs +3 -3
  236. package/dist/plugin-utils/merge.d.cts +1 -3
  237. package/dist/plugin-utils/merge.d.ts +1 -3
  238. package/dist/plugin-utils/merge.js +2 -2
  239. package/dist/plugin-utils/paths.cjs +2 -2
  240. package/dist/plugin-utils/paths.d.cts +4 -5
  241. package/dist/plugin-utils/paths.d.ts +4 -5
  242. package/dist/plugin-utils/paths.js +1 -1
  243. package/dist/{resolved-B41SbjnS.d.cts → resolved-D8vIizyA.d.cts} +81 -66
  244. package/dist/{resolved-J7a2Aeuk.d.ts → resolved-DWxXKJYy.d.ts} +81 -66
  245. package/dist/rolldown.cjs +8 -8
  246. package/dist/rolldown.d.cts +1 -2
  247. package/dist/rolldown.d.ts +1 -2
  248. package/dist/rolldown.js +5 -5
  249. package/dist/rollup.cjs +8 -8
  250. package/dist/rollup.d.cts +1 -2
  251. package/dist/rollup.d.ts +1 -2
  252. package/dist/rollup.js +5 -5
  253. package/dist/rspack.cjs +8 -8
  254. package/dist/rspack.d.cts +1 -2
  255. package/dist/rspack.d.ts +1 -2
  256. package/dist/rspack.js +5 -5
  257. package/dist/tsup.cjs +10 -10
  258. package/dist/tsup.js +7 -7
  259. package/dist/types/babel.d.cts +1 -2
  260. package/dist/types/babel.d.ts +1 -2
  261. package/dist/types/build.d.cts +94 -7
  262. package/dist/types/build.d.ts +94 -7
  263. package/dist/types/commands.cjs +2 -2
  264. package/dist/types/commands.d.cts +1 -2
  265. package/dist/types/commands.d.ts +1 -2
  266. package/dist/types/commands.js +1 -1
  267. package/dist/types/config.d.cts +1 -2
  268. package/dist/types/config.d.ts +1 -2
  269. package/dist/types/context.d.cts +2 -3
  270. package/dist/types/context.d.ts +2 -3
  271. package/dist/types/hooks.d.cts +1 -2
  272. package/dist/types/hooks.d.ts +1 -2
  273. package/dist/types/index.cjs +6 -22
  274. package/dist/types/index.d.cts +2 -3
  275. package/dist/types/index.d.ts +2 -3
  276. package/dist/types/index.js +2 -2
  277. package/dist/types/internal.d.cts +2 -3
  278. package/dist/types/internal.d.ts +2 -3
  279. package/dist/types/plugin.d.cts +1 -2
  280. package/dist/types/plugin.d.ts +1 -2
  281. package/dist/types/resolved.d.cts +1 -2
  282. package/dist/types/resolved.d.ts +1 -2
  283. package/dist/types/unplugin.d.cts +1 -2
  284. package/dist/types/unplugin.d.ts +1 -2
  285. package/dist/types/vfs.cjs +4 -20
  286. package/dist/types/vfs.d.cts +47 -54
  287. package/dist/types/vfs.d.ts +47 -54
  288. package/dist/types/vfs.js +1 -1
  289. package/dist/unloader.cjs +8 -8
  290. package/dist/unloader.d.cts +3 -4
  291. package/dist/unloader.d.ts +3 -4
  292. package/dist/unloader.js +5 -5
  293. package/dist/unplugin.cjs +20 -20
  294. package/dist/unplugin.d.cts +4 -5
  295. package/dist/unplugin.d.ts +4 -5
  296. package/dist/unplugin.js +17 -17
  297. package/dist/vite.cjs +9 -9
  298. package/dist/vite.d.cts +1 -2
  299. package/dist/vite.d.ts +1 -2
  300. package/dist/vite.js +6 -6
  301. package/dist/webpack.cjs +8 -8
  302. package/dist/webpack.d.cts +1 -2
  303. package/dist/webpack.d.ts +1 -2
  304. package/dist/webpack.js +5 -5
  305. package/package.json +8 -6
  306. package/dist/chunk-CWCEYGLM.js +0 -43
  307. package/dist/chunk-F5NKLRZD.cjs +0 -49
  308. package/dist/chunk-OBYFBPPO.js +0 -9
  309. package/dist/chunk-RDMLGFIT.js +0 -29
  310. package/dist/chunk-RF6RSWD4.cjs +0 -16
  311. package/dist/chunk-XDLLDHRY.cjs +0 -32
  312. package/dist/lib/chunk-POOHWK7C.cjs +0 -63
  313. package/dist/lib/chunk-VLHOYZG2.js +0 -55
  314. package/dist/plugin-utils/chunk-2HFS2OOG.cjs +0 -14
  315. package/dist/plugin-utils/chunk-CVZA2RT3.js +0 -12
package/dist/rolldown.cjs CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkA3FMGMBV_cjs = require('./chunk-A3FMGMBV.cjs');
6
- require('./chunk-ULFJBFI7.cjs');
7
- require('./chunk-KMELWYHW.cjs');
5
+ var chunkUVM4JAR3_cjs = require('./chunk-UVM4JAR3.cjs');
6
+ require('./chunk-SQANNMRF.cjs');
7
+ require('./chunk-6XRDZOE3.cjs');
8
8
  require('./chunk-ETKZMGLN.cjs');
9
- require('./chunk-RF6RSWD4.cjs');
10
- require('./chunk-FCTNMPJF.cjs');
9
+ require('./chunk-SVF4ATJR.cjs');
10
+ require('./chunk-PAMSESZV.cjs');
11
11
  require('./chunk-USNT2KNT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunkA3FMGMBV_cjs.rolldown_default; }
17
+ get: function () { return chunkUVM4JAR3_cjs.rolldown_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkA3FMGMBV_cjs.rolldown; }
21
+ get: function () { return chunkUVM4JAR3_cjs.rolldown; }
22
22
  });
23
23
  Object.defineProperty(exports, "rolldown", {
24
24
  enumerable: true,
25
- get: function () { return chunkA3FMGMBV_cjs.rolldown; }
25
+ get: function () { return chunkUVM4JAR3_cjs.rolldown; }
26
26
  });
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { v as RolldownUserConfig } from './resolved-B41SbjnS.cjs';
2
+ import { v as RolldownUserConfig } from './resolved-D8vIizyA.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Rolldown plugin that will invoke the Powerlines API hooks during the build process.
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { v as RolldownUserConfig } from './resolved-J7a2Aeuk.js';
2
+ import { v as RolldownUserConfig } from './resolved-DWxXKJYy.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Rolldown plugin that will invoke the Powerlines API hooks during the build process.
package/dist/rolldown.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-HI3LNK6Q.js';
2
- import './chunk-MLAYLHZO.js';
3
- import './chunk-GFINPIIK.js';
1
+ export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-SVDPKN3U.js';
2
+ import './chunk-237NITCY.js';
3
+ import './chunk-OZU47JET.js';
4
4
  import './chunk-JQCWV4DT.js';
5
- import './chunk-OBYFBPPO.js';
6
- import './chunk-WJ4CZKXY.js';
5
+ import './chunk-ZWF7LZXE.js';
6
+ import './chunk-JKBJF3UI.js';
7
7
  import './chunk-SHUYVCID.js';
package/dist/rollup.cjs CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkYQZXG4X6_cjs = require('./chunk-YQZXG4X6.cjs');
6
- require('./chunk-ULFJBFI7.cjs');
7
- require('./chunk-KMELWYHW.cjs');
5
+ var chunk7C2NEC7D_cjs = require('./chunk-7C2NEC7D.cjs');
6
+ require('./chunk-SQANNMRF.cjs');
7
+ require('./chunk-6XRDZOE3.cjs');
8
8
  require('./chunk-ETKZMGLN.cjs');
9
- require('./chunk-RF6RSWD4.cjs');
10
- require('./chunk-FCTNMPJF.cjs');
9
+ require('./chunk-SVF4ATJR.cjs');
10
+ require('./chunk-PAMSESZV.cjs');
11
11
  require('./chunk-USNT2KNT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunkYQZXG4X6_cjs.rollup_default; }
17
+ get: function () { return chunk7C2NEC7D_cjs.rollup_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkYQZXG4X6_cjs.rollup; }
21
+ get: function () { return chunk7C2NEC7D_cjs.rollup; }
22
22
  });
23
23
  Object.defineProperty(exports, "rollup", {
24
24
  enumerable: true,
25
- get: function () { return chunkYQZXG4X6_cjs.rollup; }
25
+ get: function () { return chunk7C2NEC7D_cjs.rollup; }
26
26
  });
package/dist/rollup.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as rollup$1 from 'rollup';
2
- import { u as RollupUserConfig } from './resolved-B41SbjnS.cjs';
2
+ import { u as RollupUserConfig } from './resolved-D8vIizyA.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Rollup plugin that will invoke the Powerlines API hooks during the build process.
package/dist/rollup.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as rollup$1 from 'rollup';
2
- import { u as RollupUserConfig } from './resolved-J7a2Aeuk.js';
2
+ import { u as RollupUserConfig } from './resolved-DWxXKJYy.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * A Rollup plugin that will invoke the Powerlines API hooks during the build process.
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rollup_default as default, rollup as "module.exports", rollup } from './chunk-RR7EC4RF.js';
2
- import './chunk-MLAYLHZO.js';
3
- import './chunk-GFINPIIK.js';
1
+ export { rollup_default as default, rollup as "module.exports", rollup } from './chunk-M6XGEVJY.js';
2
+ import './chunk-237NITCY.js';
3
+ import './chunk-OZU47JET.js';
4
4
  import './chunk-JQCWV4DT.js';
5
- import './chunk-OBYFBPPO.js';
6
- import './chunk-WJ4CZKXY.js';
5
+ import './chunk-ZWF7LZXE.js';
6
+ import './chunk-JKBJF3UI.js';
7
7
  import './chunk-SHUYVCID.js';
package/dist/rspack.cjs CHANGED
@@ -2,25 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunkBSGWY4AP_cjs = require('./chunk-BSGWY4AP.cjs');
6
- require('./chunk-ULFJBFI7.cjs');
7
- require('./chunk-KMELWYHW.cjs');
5
+ var chunk3JH36WUJ_cjs = require('./chunk-3JH36WUJ.cjs');
6
+ require('./chunk-SQANNMRF.cjs');
7
+ require('./chunk-6XRDZOE3.cjs');
8
8
  require('./chunk-ETKZMGLN.cjs');
9
- require('./chunk-RF6RSWD4.cjs');
10
- require('./chunk-FCTNMPJF.cjs');
9
+ require('./chunk-SVF4ATJR.cjs');
10
+ require('./chunk-PAMSESZV.cjs');
11
11
  require('./chunk-USNT2KNT.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunkBSGWY4AP_cjs.rspack_default; }
17
+ get: function () { return chunk3JH36WUJ_cjs.rspack_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunkBSGWY4AP_cjs.rspack; }
21
+ get: function () { return chunk3JH36WUJ_cjs.rspack; }
22
22
  });
23
23
  Object.defineProperty(exports, "rspack", {
24
24
  enumerable: true,
25
- get: function () { return chunkBSGWY4AP_cjs.rspack; }
25
+ get: function () { return chunk3JH36WUJ_cjs.rspack; }
26
26
  });
package/dist/rspack.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as unplugin from 'unplugin';
2
- import { t as RspackUserConfig } from './resolved-B41SbjnS.cjs';
2
+ import { t as RspackUserConfig } from './resolved-D8vIizyA.cjs';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * An Rspack plugin that will invoke the Powerlines API hooks during the build process.
package/dist/rspack.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as unplugin from 'unplugin';
2
- import { t as RspackUserConfig } from './resolved-J7a2Aeuk.js';
2
+ import { t as RspackUserConfig } from './resolved-DWxXKJYy.js';
3
3
  import '@stryke/types/base';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
@@ -35,7 +35,6 @@ import 'typescript';
35
35
  import './types/vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
39
38
 
40
39
  /**
41
40
  * An Rspack plugin that will invoke the Powerlines API hooks during the build process.
package/dist/rspack.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rspack_default as default, rspack as "module.exports", rspack } from './chunk-HEG6IAVR.js';
2
- import './chunk-MLAYLHZO.js';
3
- import './chunk-GFINPIIK.js';
1
+ export { rspack_default as default, rspack as "module.exports", rspack } from './chunk-ZPOCM5XZ.js';
2
+ import './chunk-237NITCY.js';
3
+ import './chunk-OZU47JET.js';
4
4
  import './chunk-JQCWV4DT.js';
5
- import './chunk-OBYFBPPO.js';
6
- import './chunk-WJ4CZKXY.js';
5
+ import './chunk-ZWF7LZXE.js';
6
+ import './chunk-JKBJF3UI.js';
7
7
  import './chunk-SHUYVCID.js';
package/dist/tsup.cjs CHANGED
@@ -2,27 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk7HKTQSUG_cjs = require('./chunk-7HKTQSUG.cjs');
6
- require('./chunk-TK6CN2KT.cjs');
7
- require('./chunk-F5NKLRZD.cjs');
8
- require('./chunk-ULFJBFI7.cjs');
9
- require('./chunk-KMELWYHW.cjs');
5
+ var chunkPJP4MECA_cjs = require('./chunk-PJP4MECA.cjs');
6
+ require('./chunk-DMXXNXLS.cjs');
7
+ require('./chunk-HV7SHEHD.cjs');
8
+ require('./chunk-SQANNMRF.cjs');
9
+ require('./chunk-6XRDZOE3.cjs');
10
10
  require('./chunk-ETKZMGLN.cjs');
11
- require('./chunk-RF6RSWD4.cjs');
12
- require('./chunk-FCTNMPJF.cjs');
11
+ require('./chunk-SVF4ATJR.cjs');
12
+ require('./chunk-PAMSESZV.cjs');
13
13
  require('./chunk-USNT2KNT.cjs');
14
14
 
15
15
 
16
16
 
17
17
  Object.defineProperty(exports, "default", {
18
18
  enumerable: true,
19
- get: function () { return chunk7HKTQSUG_cjs.tsup_default; }
19
+ get: function () { return chunkPJP4MECA_cjs.tsup_default; }
20
20
  });
21
21
  Object.defineProperty(exports, "module.exports", {
22
22
  enumerable: true,
23
- get: function () { return chunk7HKTQSUG_cjs.tsup; }
23
+ get: function () { return chunkPJP4MECA_cjs.tsup; }
24
24
  });
25
25
  Object.defineProperty(exports, "tsup", {
26
26
  enumerable: true,
27
- get: function () { return chunk7HKTQSUG_cjs.tsup; }
27
+ get: function () { return chunkPJP4MECA_cjs.tsup; }
28
28
  });
package/dist/tsup.js CHANGED
@@ -1,9 +1,9 @@
1
- export { tsup_default as default, tsup as "module.exports", tsup } from './chunk-PAJB5K7A.js';
2
- import './chunk-VICSRRKQ.js';
3
- import './chunk-CWCEYGLM.js';
4
- import './chunk-MLAYLHZO.js';
5
- import './chunk-GFINPIIK.js';
1
+ export { tsup_default as default, tsup as "module.exports", tsup } from './chunk-NZXMP4J5.js';
2
+ import './chunk-WU7I52LM.js';
3
+ import './chunk-PDFOF6ZP.js';
4
+ import './chunk-237NITCY.js';
5
+ import './chunk-OZU47JET.js';
6
6
  import './chunk-JQCWV4DT.js';
7
- import './chunk-OBYFBPPO.js';
8
- import './chunk-WJ4CZKXY.js';
7
+ import './chunk-ZWF7LZXE.js';
8
+ import './chunk-JKBJF3UI.js';
9
9
  import './chunk-SHUYVCID.js';
@@ -1,6 +1,6 @@
1
1
  import '@babel/core';
2
2
  import '@babel/helper-plugin-utils';
3
- export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-B41SbjnS.cjs';
3
+ export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-D8vIizyA.cjs';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
6
6
  import '@stryke/types/file';
@@ -35,4 +35,3 @@ import 'typescript';
35
35
  import './vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
@@ -1,6 +1,6 @@
1
1
  import '@babel/core';
2
2
  import '@babel/helper-plugin-utils';
3
- export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-J7a2Aeuk.js';
3
+ export { B as BabelPluginPass, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, I as ImportDefinition, h as ImportSpecifier, N as NamedImportDefinition, R as ResolvedBabelTransformPluginOptions } from '../resolved-DWxXKJYy.js';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
6
6
  import '@stryke/types/file';
@@ -35,4 +35,3 @@ import 'typescript';
35
35
  import './vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
@@ -18,6 +18,87 @@ interface BuildConfig {
18
18
  * @defaultValue "neutral"
19
19
  */
20
20
  platform?: "node" | "browser" | "neutral";
21
+ /**
22
+ * Array of strings indicating the polyfills to include for the build.
23
+ *
24
+ * @remarks
25
+ * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * {
30
+ * polyfill: ['{projectRoot}/custom-polyfill.ts']
31
+ * }
32
+ * ```
33
+ */
34
+ polyfill?: string[];
35
+ /**
36
+ * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
37
+ *
38
+ * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
39
+ */
40
+ mainFields?: string[];
41
+ /**
42
+ * Array of strings indicating what conditions should be used for module resolution.
43
+ */
44
+ conditions?: string[];
45
+ /**
46
+ * Array of strings indicating what file extensions should be used for module resolution.
47
+ *
48
+ * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
49
+ */
50
+ extensions?: string[];
51
+ /**
52
+ * Array of strings indicating what modules should be deduplicated to a single version in the build.
53
+ *
54
+ * @remarks
55
+ * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
56
+ */
57
+ dedupe?: string[];
58
+ /**
59
+ * Array of strings or regular expressions that indicate what modules are builtin for the environment.
60
+ */
61
+ builtins?: (string | RegExp)[];
62
+ /**
63
+ * Define global variable replacements.
64
+ *
65
+ * @remarks
66
+ * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * {
71
+ * define: {
72
+ * __VERSION__: '"1.0.0"',
73
+ * __DEV__: 'process.env.NODE_ENV !== "production"'
74
+ * }
75
+ * }
76
+ * ```
77
+ *
78
+ * @see https://esbuild.github.io/api/#define
79
+ * @see https://vitejs.dev/config/build-options.html#define
80
+ * @see https://github.com/rollup/plugins/tree/master/packages/replace
81
+ */
82
+ define?: Record<string, any>;
83
+ /**
84
+ * Global variables that will have import statements injected where necessary
85
+ *
86
+ * @remarks
87
+ * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * {
92
+ * inject: {
93
+ * process: 'process/browser',
94
+ * Buffer: ['buffer', 'Buffer'],
95
+ * }
96
+ * }
97
+ * ```
98
+ *
99
+ * @see https://github.com/rollup/plugins/tree/master/packages/inject
100
+ */
101
+ inject?: Record<string, string | string[]>;
21
102
  /**
22
103
  * The alias mappings to use for module resolution during the build process.
23
104
  *
@@ -33,8 +114,13 @@ interface BuildConfig {
33
114
  * }
34
115
  * }
35
116
  * ```
117
+ *
118
+ * @see https://github.com/rollup/plugins/tree/master/packages/alias
36
119
  */
37
- alias?: Record<string, string>;
120
+ alias?: Record<string, string> | Array<{
121
+ find: string | RegExp;
122
+ replacement: string;
123
+ }>;
38
124
  /**
39
125
  * A list of modules that should not be bundled, even if they are external dependencies.
40
126
  *
@@ -51,15 +137,16 @@ interface BuildConfig {
51
137
  */
52
138
  skipNodeModulesBundle?: boolean;
53
139
  /**
54
- * Should the Powerlines processes skip the `"prepare"` task prior to building?
140
+ * An optional set of override options to apply to the selected build variant.
55
141
  *
56
- * @defaultValue false
142
+ * @remarks
143
+ * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
57
144
  */
58
- skipPrepare?: boolean;
145
+ override?: Record<string, any>;
59
146
  }
60
- type BuildResolvedConfig = BuildConfig;
61
- type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
62
- type ESBuildResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
147
+ type BuildResolvedConfig = Omit<BuildConfig, "override">;
148
+ type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
149
+ type ESBuildResolvedBuildConfig = Omit<BuildOptions, "inject"> & BuildResolvedConfig;
63
150
  type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig;
64
151
  type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
65
152
  type WebpackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
@@ -18,6 +18,87 @@ interface BuildConfig {
18
18
  * @defaultValue "neutral"
19
19
  */
20
20
  platform?: "node" | "browser" | "neutral";
21
+ /**
22
+ * Array of strings indicating the polyfills to include for the build.
23
+ *
24
+ * @remarks
25
+ * This option allows you to specify which polyfills should be included in the build process to ensure compatibility with the target environment. The paths for the polyfills can use placeholder tokens (the `replacePathTokens` helper function will be used to resolve the actual values).
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * {
30
+ * polyfill: ['{projectRoot}/custom-polyfill.ts']
31
+ * }
32
+ * ```
33
+ */
34
+ polyfill?: string[];
35
+ /**
36
+ * Array of strings indicating the order in which fields in a package.json file should be resolved to determine the entry point for a module.
37
+ *
38
+ * @defaultValue `['browser', 'module', 'jsnext:main', 'jsnext']`
39
+ */
40
+ mainFields?: string[];
41
+ /**
42
+ * Array of strings indicating what conditions should be used for module resolution.
43
+ */
44
+ conditions?: string[];
45
+ /**
46
+ * Array of strings indicating what file extensions should be used for module resolution.
47
+ *
48
+ * @defaultValue `['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']`
49
+ */
50
+ extensions?: string[];
51
+ /**
52
+ * Array of strings indicating what modules should be deduplicated to a single version in the build.
53
+ *
54
+ * @remarks
55
+ * This option is useful for ensuring that only one version of a module is included in the bundle, which can help reduce bundle size and avoid conflicts.
56
+ */
57
+ dedupe?: string[];
58
+ /**
59
+ * Array of strings or regular expressions that indicate what modules are builtin for the environment.
60
+ */
61
+ builtins?: (string | RegExp)[];
62
+ /**
63
+ * Define global variable replacements.
64
+ *
65
+ * @remarks
66
+ * This option allows you to specify global constants that will be replaced in the code during the build process. It is similar to the `define` option in esbuild and Vite, enabling you to replace specific identifiers with constant expressions at build time.
67
+ *
68
+ * @example
69
+ * ```ts
70
+ * {
71
+ * define: {
72
+ * __VERSION__: '"1.0.0"',
73
+ * __DEV__: 'process.env.NODE_ENV !== "production"'
74
+ * }
75
+ * }
76
+ * ```
77
+ *
78
+ * @see https://esbuild.github.io/api/#define
79
+ * @see https://vitejs.dev/config/build-options.html#define
80
+ * @see https://github.com/rollup/plugins/tree/master/packages/replace
81
+ */
82
+ define?: Record<string, any>;
83
+ /**
84
+ * Global variables that will have import statements injected where necessary
85
+ *
86
+ * @remarks
87
+ * This option allows you to specify global variables that should be automatically imported from specified modules whenever they are used in the code. This is particularly useful for polyfilling Node.js globals in a browser environment.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * {
92
+ * inject: {
93
+ * process: 'process/browser',
94
+ * Buffer: ['buffer', 'Buffer'],
95
+ * }
96
+ * }
97
+ * ```
98
+ *
99
+ * @see https://github.com/rollup/plugins/tree/master/packages/inject
100
+ */
101
+ inject?: Record<string, string | string[]>;
21
102
  /**
22
103
  * The alias mappings to use for module resolution during the build process.
23
104
  *
@@ -33,8 +114,13 @@ interface BuildConfig {
33
114
  * }
34
115
  * }
35
116
  * ```
117
+ *
118
+ * @see https://github.com/rollup/plugins/tree/master/packages/alias
36
119
  */
37
- alias?: Record<string, string>;
120
+ alias?: Record<string, string> | Array<{
121
+ find: string | RegExp;
122
+ replacement: string;
123
+ }>;
38
124
  /**
39
125
  * A list of modules that should not be bundled, even if they are external dependencies.
40
126
  *
@@ -51,15 +137,16 @@ interface BuildConfig {
51
137
  */
52
138
  skipNodeModulesBundle?: boolean;
53
139
  /**
54
- * Should the Powerlines processes skip the `"prepare"` task prior to building?
140
+ * An optional set of override options to apply to the selected build variant.
55
141
  *
56
- * @defaultValue false
142
+ * @remarks
143
+ * This option allows you to provide configuration options with the guarantee that they will **not** be overridden and will take precedence over other build configurations.
57
144
  */
58
- skipPrepare?: boolean;
145
+ override?: Record<string, any>;
59
146
  }
60
- type BuildResolvedConfig = BuildConfig;
61
- type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
62
- type ESBuildResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
147
+ type BuildResolvedConfig = Omit<BuildConfig, "override">;
148
+ type ESBuildBuildConfig = Omit<BuildOptions, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
149
+ type ESBuildResolvedBuildConfig = Omit<BuildOptions, "inject"> & BuildResolvedConfig;
63
150
  type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig;
64
151
  type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
65
152
  type WebpackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkFCTNMPJF_cjs = require('../chunk-FCTNMPJF.cjs');
3
+ var chunkPAMSESZV_cjs = require('../chunk-PAMSESZV.cjs');
4
4
  require('../chunk-USNT2KNT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "SUPPORTED_COMMANDS", {
9
9
  enumerable: true,
10
- get: function () { return chunkFCTNMPJF_cjs.SUPPORTED_COMMANDS; }
10
+ get: function () { return chunkPAMSESZV_cjs.SUPPORTED_COMMANDS; }
11
11
  });
@@ -1,6 +1,6 @@
1
1
  import '@stryke/types/array';
2
2
  import '@stryke/types/base';
3
- export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-B41SbjnS.cjs';
3
+ export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-D8vIizyA.cjs';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
6
6
  import 'vite';
@@ -35,4 +35,3 @@ import 'typescript';
35
35
  import './vfs.cjs';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
@@ -1,6 +1,6 @@
1
1
  import '@stryke/types/array';
2
2
  import '@stryke/types/base';
3
- export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-J7a2Aeuk.js';
3
+ export { C as CommandType, i as Commands, S as SUPPORTED_COMMANDS } from '../resolved-DWxXKJYy.js';
4
4
  import '@stryke/types/configuration';
5
5
  import '@stryke/types/file';
6
6
  import 'vite';
@@ -35,4 +35,3 @@ import 'typescript';
35
35
  import './vfs.js';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';
@@ -1,2 +1,2 @@
1
- export { SUPPORTED_COMMANDS } from '../chunk-WJ4CZKXY.js';
1
+ export { SUPPORTED_COMMANDS } from '../chunk-JKBJF3UI.js';
2
2
  import '../chunk-SHUYVCID.js';
@@ -7,7 +7,7 @@ import '@stryke/types/configuration';
7
7
  import '@stryke/types/file';
8
8
  import 'c12';
9
9
  import 'vite';
10
- export { $ as AnyUserConfig, p as BabelUserConfig, q as BaseConfig, Q as BuildInlineConfig, K as CleanInlineConfig, r as CommonUserConfig, _ as ConfigEnv, Y as DocsInlineConfig, w as ESBuildUserConfig, E as EnvironmentConfig, F as FarmUserConfig, y as InferUserConfig, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, J as NewInlineConfig, O as OutputConfig, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, P as PluginFactory, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, Z as ReleaseInlineConfig, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, T as TsupUserConfig, x as UnbuildUserConfig, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, V as ViteUserConfig, s as WebpackUserConfig, W as WorkspaceConfig } from '../resolved-B41SbjnS.cjs';
10
+ export { $ as AnyUserConfig, p as BabelUserConfig, q as BaseConfig, Q as BuildInlineConfig, K as CleanInlineConfig, r as CommonUserConfig, _ as ConfigEnv, Z as DeployInlineConfig, Y as DocsInlineConfig, w as ESBuildUserConfig, E as EnvironmentConfig, F as FarmUserConfig, y as InferUserConfig, z as InitialUserConfig, H as InlineConfig, X as LintInlineConfig, L as LogFn, J as NewInlineConfig, O as OutputConfig, A as ParsedUserConfig, m as PartialPlugin, n as PartialPluginFactory, l as PluginConfig, k as PluginConfigObject, j as PluginConfigTuple, P as PluginFactory, G as PowerlinesCommand, M as PrepareInlineConfig, o as ProjectType, v as RolldownUserConfig, u as RollupUserConfig, t as RspackUserConfig, T as TsupUserConfig, x as UnbuildUserConfig, U as UserConfig, a3 as UserConfigExport, a2 as UserConfigFn, a0 as UserConfigFnObject, a1 as UserConfigFnPromise, V as ViteUserConfig, s as WebpackUserConfig, W as WorkspaceConfig } from '../resolved-D8vIizyA.cjs';
11
11
  import './build.cjs';
12
12
  import './tsconfig.cjs';
13
13
  import './vfs.cjs';
@@ -35,4 +35,3 @@ import '@stryke/types/tsconfig';
35
35
  import 'typescript';
36
36
  import '@stryke/json/types';
37
37
  import 'node:fs';
38
- import 'unionfs';