@rollipop/rolldown 1.0.25 → 1.0.27

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 (45) hide show
  1. package/THIRD-PARTY-LICENSE +33 -0
  2. package/dist/cli.d.mts +1 -1
  3. package/dist/cli.mjs +17 -14
  4. package/dist/config.d.mts +1 -1
  5. package/dist/config.mjs +2 -2
  6. package/dist/experimental-default-runtime.mjs +116 -0
  7. package/dist/experimental-index.d.mts +10 -4
  8. package/dist/experimental-index.mjs +32 -16
  9. package/dist/experimental-runtime-base.mjs +95 -0
  10. package/dist/experimental-runtime.d.ts +177 -0
  11. package/dist/experimental-runtime.mjs +257 -0
  12. package/dist/filter-index.d.mts +1 -1
  13. package/dist/filter-index.mjs +1 -3
  14. package/dist/index.d.mts +3 -3
  15. package/dist/index.mjs +4 -4
  16. package/dist/parallel-plugin-worker.d.mts +1 -1
  17. package/dist/parallel-plugin-worker.mjs +3 -3
  18. package/dist/parallel-plugin.d.mts +1 -1
  19. package/dist/parse-ast-index.d.mts +1 -1
  20. package/dist/parse-ast-index.mjs +2 -2
  21. package/dist/plugins-index.d.mts +3 -3
  22. package/dist/plugins-index.mjs +2 -2
  23. package/dist/shared/binding-CuB3cgML.mjs +679 -0
  24. package/dist/shared/{binding-CyCKfYSu.d.mts → binding-We_IfeZk.d.mts} +11 -0
  25. package/dist/shared/{bindingify-input-options-CkSiXecU.mjs → bindingify-input-options-Cp0kpzhL.mjs} +453 -283
  26. package/dist/shared/{constructors-CEYV9FDo.mjs → constructors-CUnQrTUN.mjs} +10 -6
  27. package/dist/shared/{constructors-B1v9buY3.d.mts → constructors-dwVL6FXl.d.mts} +2 -2
  28. package/dist/shared/{rolldown-build-Cy0C2jvD.mjs → create-bundler-option-CAx_5u9x.mjs} +72 -179
  29. package/dist/shared/{define-config-JSiTCvYA.d.mts → define-config-D7NdzfP7.d.mts} +86 -27
  30. package/dist/shared/{error-pMeQY3Ie.mjs → error-BdMRRSIe.mjs} +1 -1
  31. package/dist/shared/{load-config-BAsjK_il.mjs → load-config-Bh1CAJT7.mjs} +2 -2
  32. package/dist/shared/{logs-ZGEh6uhb.mjs → logs-DmYCAKcW.mjs} +8 -1
  33. package/dist/shared/{misc-CoQm4NHO.mjs → misc-DOSKtd97.mjs} +9 -1
  34. package/dist/shared/{normalize-string-or-regex-CSHtENP1.mjs → normalize-string-or-regex-Bp8lvaXp.mjs} +2 -2
  35. package/dist/shared/{parse-BEeauYyL.mjs → parse-Be-cJD0d.mjs} +2 -2
  36. package/dist/shared/{prompt--dNycKSZ.mjs → prompt-CH6TK0bC.mjs} +2 -6
  37. package/dist/shared/{resolve-tsconfig-upebNbwm.mjs → resolve-tsconfig-CzlObluk.mjs} +2 -2
  38. package/dist/shared/rolldown-BTyqb0Av.mjs +178 -0
  39. package/dist/shared/{transform-DJLP9UUk.d.mts → transform-CsZGbS4Q.d.mts} +1 -1
  40. package/dist/shared/{watch-BLrLOBAp.mjs → watch-BA13XFgy.mjs} +17 -14
  41. package/dist/utils-index.d.mts +3 -3
  42. package/dist/utils-index.mjs +16 -16
  43. package/package.json +26 -16
  44. package/dist/shared/binding-DnitnDvS.mjs +0 -594
  45. package/dist/shared/rolldown-DHWEkE2v.mjs +0 -40
@@ -1737,6 +1737,13 @@ interface BindingJsxOptions {
1737
1737
  interface BindingLazyChunkOutput {
1738
1738
  code: string;
1739
1739
  filename: string;
1740
+ /**
1741
+ * The chunk's sourcemap, when `sourcemap` is `File` or `Hidden`. Serve it
1742
+ * under `sourcemapFilename`, which is what the chunk's `sourceMappingURL`
1743
+ * refers to.
1744
+ */
1745
+ sourcemap?: string;
1746
+ sourcemapFilename?: string;
1740
1747
  }
1741
1748
  interface BindingLogLocation {
1742
1749
  /** 1-based */
@@ -1757,6 +1764,8 @@ interface BindingModules {
1757
1764
  }
1758
1765
  interface BindingOverwriteOptions {
1759
1766
  contentOnly?: boolean;
1767
+ /** Stores the replaced content in the generated sourcemap's `names` field. */
1768
+ storeName?: boolean;
1760
1769
  }
1761
1770
  interface BindingPluginContextResolveOptions {
1762
1771
  /**
@@ -1886,6 +1895,8 @@ interface BindingTsconfigResult {
1886
1895
  }
1887
1896
  interface BindingUpdateOptions {
1888
1897
  overwrite?: boolean;
1898
+ /** Stores the replaced content in the generated sourcemap's `names` field. */
1899
+ storeName?: boolean;
1889
1900
  }
1890
1901
  interface BindingViteBuildImportAnalysisPluginConfig {
1891
1902
  preloadCode: string;