@rolldown/browser 1.0.0-beta.49 → 1.0.0-beta.51
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/cli.mjs +12 -8
- package/dist/config.d.mts +3 -3
- package/dist/config.mjs +9 -5
- package/dist/constructors-DoUEJY6G.js +65 -0
- package/dist/experimental-index.browser.mjs +17 -11
- package/dist/experimental-index.d.mts +52 -15
- package/dist/experimental-index.mjs +21 -13
- package/dist/filter-index.d.mts +3 -3
- package/dist/filter-index.mjs +2 -1
- package/dist/index.browser.mjs +161 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +36 -4
- package/dist/normalize-string-or-regex-BXFT9GiS.js +830 -0
- package/dist/parallel-plugin-worker.mjs +5 -4
- package/dist/parallel-plugin.d.mts +3 -3
- package/dist/parse-ast-index.d.mts +1 -1
- package/dist/parse-ast-index.mjs +1 -1
- package/dist/plugins-index.browser.mjs +2 -2
- package/dist/plugins-index.d.mts +3 -3
- package/dist/plugins-index.mjs +3 -2
- package/dist/rolldown-binding.wasi-browser.js +5 -2
- package/dist/rolldown-binding.wasi.cjs +5 -2
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/{src-CnMyHYgB.js → rolldown-build-C0UB1WZy.js} +32 -756
- package/dist/shared/{binding-B4uTNiw2.d.mts → binding-lSvYApx7.d.mts} +198 -89
- package/dist/shared/bindingify-input-options-CSdAtTcQ.mjs +1568 -0
- package/dist/shared/{composable-filters-CBpK2Fbc.mjs → composable-filters-DZ5ToxRJ.mjs} +1 -22
- package/dist/shared/constructors-DF6M1PTb.mjs +65 -0
- package/dist/shared/constructors-DgFF472b.d.mts +31 -0
- package/dist/shared/{define-config-BAQ9c-hh.d.mts → define-config-BKu-xa_0.d.mts} +10 -49
- package/dist/shared/define-config-DfeZGBEt.mjs +7 -0
- package/dist/shared/{load-config-DQI-2sfE.mjs → load-config-Beo_LOwd.mjs} +1 -1
- package/dist/shared/misc-5GYLGQ20.mjs +22 -0
- package/dist/shared/normalize-string-or-regex-DvECZN2V.mjs +629 -0
- package/dist/shared/{parse-ast-index-D9jH_38U.mjs → parse-ast-index-C_M-Y4oC.mjs} +3 -3
- package/dist/shared/{prompt-Ckjl2FdJ.mjs → prompt-pmGBC3ws.mjs} +1 -1
- package/dist/shared/rolldown-BhV7L6Kg.mjs +10 -0
- package/dist/shared/rolldown-build-DYR94CyF.mjs +2121 -0
- package/dist/shared/utils-BJWI2OzT.d.mts +62 -0
- package/dist/shared/watch-Cjxo-3u4.mjs +338 -0
- package/package.json +1 -1
- package/dist/constructors-EhfoQfqh.js +0 -68
- package/dist/normalize-string-or-regex-d47jXr3r.js +0 -231
- package/dist/shared/constructors-CaN9lKj2.d.mts +0 -32
- package/dist/shared/constructors-DcEzB0nc.mjs +0 -68
- package/dist/shared/normalize-string-or-regex-CbDij6KB.mjs +0 -46
- package/dist/shared/src-CZ_U2fML.mjs +0 -4597
- package/dist/shared/utils-CduIqa7h.d.mts +0 -18
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { l as PluginContextData, u as bindingifyPlugin } from "./shared/src-CZ_U2fML.mjs";
|
|
2
1
|
import "./shared/logs-CPsamAuj.mjs";
|
|
3
|
-
import "./shared/
|
|
4
|
-
import "./shared/
|
|
5
|
-
import "./shared/
|
|
2
|
+
import "./shared/misc-5GYLGQ20.mjs";
|
|
3
|
+
import "./shared/normalize-string-or-regex-DvECZN2V.mjs";
|
|
4
|
+
import { n as PluginContextData, r as bindingifyPlugin } from "./shared/bindingify-input-options-CSdAtTcQ.mjs";
|
|
5
|
+
import "./shared/parse-ast-index-C_M-Y4oC.mjs";
|
|
6
|
+
import "./shared/composable-filters-DZ5ToxRJ.mjs";
|
|
6
7
|
import { parentPort, workerData } from "node:worker_threads";
|
|
7
8
|
import { registerPlugins } from "./rolldown-binding.wasi.cjs";
|
|
8
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./shared/binding-
|
|
3
|
-
import {
|
|
1
|
+
import { s as MaybePromise } from "./shared/utils-BJWI2OzT.mjs";
|
|
2
|
+
import "./shared/binding-lSvYApx7.mjs";
|
|
3
|
+
import { x as Plugin } from "./shared/define-config-BKu-xa_0.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin/parallel-plugin-implementation.d.ts
|
|
6
6
|
type ParallelPluginImplementation = Plugin;
|
package/dist/parse-ast-index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./normalize-string-or-regex-BXFT9GiS.js";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./constructors-DoUEJY6G.js";
|
|
3
3
|
|
|
4
4
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
5
5
|
/**
|
package/dist/plugins-index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { t as BuiltinPlugin } from "./shared/utils-BJWI2OzT.mjs";
|
|
2
|
+
import { l as BindingReplacePluginConfig } from "./shared/binding-lSvYApx7.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-DgFF472b.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
6
6
|
|
package/dist/plugins-index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "./shared/logs-CPsamAuj.mjs";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import "./shared/misc-5GYLGQ20.mjs";
|
|
3
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-DvECZN2V.mjs";
|
|
4
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-DF6M1PTb.mjs";
|
|
4
5
|
|
|
5
6
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
6
7
|
/**
|
|
@@ -64,13 +64,14 @@ const {
|
|
|
64
64
|
})
|
|
65
65
|
export default __napiModule.exports
|
|
66
66
|
export const minify = __napiModule.exports.minify
|
|
67
|
+
export const minifySync = __napiModule.exports.minifySync
|
|
67
68
|
export const Severity = __napiModule.exports.Severity
|
|
68
69
|
export const ParseResult = __napiModule.exports.ParseResult
|
|
69
70
|
export const ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
70
71
|
export const ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
71
72
|
export const ExportLocalNameKind = __napiModule.exports.ExportLocalNameKind
|
|
72
73
|
export const ImportNameKind = __napiModule.exports.ImportNameKind
|
|
73
|
-
export const
|
|
74
|
+
export const parse = __napiModule.exports.parse
|
|
74
75
|
export const parseSync = __napiModule.exports.parseSync
|
|
75
76
|
export const rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
76
77
|
export const ResolverFactory = __napiModule.exports.ResolverFactory
|
|
@@ -79,9 +80,11 @@ export const ModuleType = __napiModule.exports.ModuleType
|
|
|
79
80
|
export const sync = __napiModule.exports.sync
|
|
80
81
|
export const HelperMode = __napiModule.exports.HelperMode
|
|
81
82
|
export const isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
83
|
+
export const isolatedDeclarationSync = __napiModule.exports.isolatedDeclarationSync
|
|
82
84
|
export const moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
85
|
+
export const moduleRunnerTransformSync = __napiModule.exports.moduleRunnerTransformSync
|
|
83
86
|
export const transform = __napiModule.exports.transform
|
|
84
|
-
export const
|
|
87
|
+
export const transformSync = __napiModule.exports.transformSync
|
|
85
88
|
export const BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
86
89
|
export const BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
87
90
|
export const BindingBundler = __napiModule.exports.BindingBundler
|
|
@@ -109,13 +109,14 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
109
109
|
})
|
|
110
110
|
module.exports = __napiModule.exports
|
|
111
111
|
module.exports.minify = __napiModule.exports.minify
|
|
112
|
+
module.exports.minifySync = __napiModule.exports.minifySync
|
|
112
113
|
module.exports.Severity = __napiModule.exports.Severity
|
|
113
114
|
module.exports.ParseResult = __napiModule.exports.ParseResult
|
|
114
115
|
module.exports.ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
115
116
|
module.exports.ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
116
117
|
module.exports.ExportLocalNameKind = __napiModule.exports.ExportLocalNameKind
|
|
117
118
|
module.exports.ImportNameKind = __napiModule.exports.ImportNameKind
|
|
118
|
-
module.exports.
|
|
119
|
+
module.exports.parse = __napiModule.exports.parse
|
|
119
120
|
module.exports.parseSync = __napiModule.exports.parseSync
|
|
120
121
|
module.exports.rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
121
122
|
module.exports.ResolverFactory = __napiModule.exports.ResolverFactory
|
|
@@ -124,9 +125,11 @@ module.exports.ModuleType = __napiModule.exports.ModuleType
|
|
|
124
125
|
module.exports.sync = __napiModule.exports.sync
|
|
125
126
|
module.exports.HelperMode = __napiModule.exports.HelperMode
|
|
126
127
|
module.exports.isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
128
|
+
module.exports.isolatedDeclarationSync = __napiModule.exports.isolatedDeclarationSync
|
|
127
129
|
module.exports.moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
130
|
+
module.exports.moduleRunnerTransformSync = __napiModule.exports.moduleRunnerTransformSync
|
|
128
131
|
module.exports.transform = __napiModule.exports.transform
|
|
129
|
-
module.exports.
|
|
132
|
+
module.exports.transformSync = __napiModule.exports.transformSync
|
|
130
133
|
module.exports.BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
131
134
|
module.exports.BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
132
135
|
module.exports.BindingBundler = __napiModule.exports.BindingBundler
|
|
Binary file
|