@rolldown/browser 1.0.0-beta.9-commit.0ec9e7d → 1.0.0-rc.10
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 +961 -1551
- package/dist/config.d.mts +9 -6
- package/dist/config.mjs +9 -11
- package/dist/constructors-DsfxKD6A.js +68 -0
- package/dist/error-BeZaDkS8.js +157 -0
- package/dist/experimental-index.browser.mjs +278 -44
- package/dist/experimental-index.d.mts +228 -68
- package/dist/experimental-index.mjs +274 -55
- package/dist/experimental-runtime-types.d.ts +98 -0
- package/dist/filter-index.d.mts +104 -2
- package/dist/filter-index.mjs +144 -5
- package/dist/get-log-filter.d.mts +3 -0
- package/dist/get-log-filter.mjs +68 -0
- package/dist/index.browser.mjs +238 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.mjs +53 -6
- package/dist/{shared/parse-ast-index-BHaE0ECV.cjs → normalize-string-or-regex-TtAGUp42.js} +74 -147
- package/dist/parallel-plugin-worker.mjs +27 -35
- package/dist/parallel-plugin.d.mts +7 -7
- package/dist/parallel-plugin.mjs +1 -2
- package/dist/parse-ast-index.d.mts +28 -5
- package/dist/parse-ast-index.mjs +60 -4
- package/dist/plugins-index.browser.mjs +40 -0
- package/dist/plugins-index.d.mts +33 -0
- package/dist/plugins-index.mjs +40 -0
- package/dist/resolve-tsconfig-DThkUPSZ.js +112 -0
- package/dist/rolldown-binding.wasi-browser.js +46 -24
- package/dist/rolldown-binding.wasi.cjs +67 -24
- package/dist/rolldown-binding.wasm32-wasi.wasm +0 -0
- package/dist/rolldown-build-Chx5S-TB.js +5349 -0
- package/dist/shared/bindingify-input-options-Czbczr8Z.mjs +2168 -0
- package/dist/shared/composable-filters-B2ByPP8y.mjs +224 -0
- package/dist/shared/constructors-BVnf_fH1.d.mts +37 -0
- package/dist/shared/constructors-CemeNi29.mjs +68 -0
- package/dist/shared/define-config-DJOr6Iwt.mjs +6 -0
- package/dist/shared/define-config-i6TWE2hm.d.mts +3855 -0
- package/dist/shared/error-CQ6njWsV.mjs +86 -0
- package/dist/shared/get-log-filter-semyr3Lj.d.mts +35 -0
- package/dist/shared/{load-config-D7UduHRZ.mjs → load-config-CxvL5JxT.mjs} +32 -36
- package/dist/shared/logging-C6h4g8dA.d.mts +50 -0
- package/dist/shared/{parse-ast-index-vu376yZ1.mjs → logs-D80CXhvg.mjs} +25 -123
- package/dist/shared/normalize-string-or-regex-CF3Uz6aU.mjs +57 -0
- package/dist/shared/parse-CRhjbrcT.mjs +73 -0
- package/dist/shared/{prompt-CxjDC0Gn.cjs → prompt-BYQIwEjg.mjs} +301 -310
- package/dist/shared/resolve-tsconfig-Cwoo4h_o.mjs +112 -0
- package/dist/shared/rolldown-C3wFxOwq.mjs +40 -0
- package/dist/shared/rolldown-build-ChZOz6BP.mjs +3318 -0
- package/dist/shared/transform-DEgNAQOQ.d.mts +149 -0
- package/dist/shared/types-Cx3HYorz.d.mts +1302 -0
- package/dist/shared/utils-6wxe_LMG.d.mts +22 -0
- package/dist/shared/watch-C1jC1oFT.mjs +373 -0
- package/dist/utils-index.browser.mjs +2414 -0
- package/dist/utils-index.d.mts +374 -0
- package/dist/utils-index.mjs +2415 -0
- package/package.json +33 -38
- package/dist/cli.cjs +0 -1748
- package/dist/cli.d.cts +0 -1
- package/dist/config.cjs +0 -12
- package/dist/config.d.cts +0 -11
- package/dist/experimental-index.cjs +0 -129
- package/dist/experimental-index.d.cts +0 -96
- package/dist/filter-index.cjs +0 -53
- package/dist/filter-index.d.cts +0 -3
- package/dist/index.cjs +0 -9
- package/dist/index.d.cts +0 -3
- package/dist/parallel-plugin-worker.cjs +0 -33
- package/dist/parallel-plugin-worker.d.cts +0 -1
- package/dist/parallel-plugin.cjs +0 -8
- package/dist/parallel-plugin.d.cts +0 -14
- package/dist/parse-ast-index.cjs +0 -4
- package/dist/parse-ast-index.d.cts +0 -9
- package/dist/shared/chunk-DDkG_k5U.cjs +0 -39
- package/dist/shared/chunk-DSsiIF1Z.mjs +0 -30
- package/dist/shared/define-config.d-D4lKXE9V.d.cts +0 -1165
- package/dist/shared/define-config.d-Dm9iNdt9.d.mts +0 -1165
- package/dist/shared/dist-BMVjvV-v.cjs +0 -249
- package/dist/shared/dist-CAn6dxW6.mjs +0 -153
- package/dist/shared/load-config-CtKjQ8Mn.cjs +0 -125
- package/dist/shared/prompt-GFYxfPw7.mjs +0 -854
- package/dist/shared/src-D0nc44MQ.mjs +0 -4691
- package/dist/shared/src-s89s870G.cjs +0 -4647
- package/dist/src-CeWghjQt.js +0 -4329
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { n as normalizeBindingError, s as bindingifySourcemap } from "./error-BeZaDkS8.js";
|
|
2
|
+
import { TsconfigCache, collapseSourcemaps, enhancedTransform, enhancedTransformSync, minify, minifySync, resolveTsconfig } from "./rolldown-binding.wasi-browser.js";
|
|
3
|
+
//#region src/utils/minify.ts
|
|
4
|
+
/**
|
|
5
|
+
* Minify asynchronously.
|
|
6
|
+
*
|
|
7
|
+
* Note: This function can be slower than {@linkcode minifySync} due to the overhead of spawning a thread.
|
|
8
|
+
*
|
|
9
|
+
* @category Utilities
|
|
10
|
+
* @experimental
|
|
11
|
+
*/
|
|
12
|
+
async function minify$1(filename, sourceText, options) {
|
|
13
|
+
const inputMap = bindingifySourcemap(options?.inputMap);
|
|
14
|
+
const result = await minify(filename, sourceText, options);
|
|
15
|
+
if (result.map && inputMap) result.map = {
|
|
16
|
+
version: 3,
|
|
17
|
+
...collapseSourcemaps([inputMap, bindingifySourcemap(result.map)])
|
|
18
|
+
};
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Minify synchronously.
|
|
23
|
+
*
|
|
24
|
+
* @category Utilities
|
|
25
|
+
* @experimental
|
|
26
|
+
*/
|
|
27
|
+
function minifySync$1(filename, sourceText, options) {
|
|
28
|
+
const inputMap = bindingifySourcemap(options?.inputMap);
|
|
29
|
+
const result = minifySync(filename, sourceText, options);
|
|
30
|
+
if (result.map && inputMap) result.map = {
|
|
31
|
+
version: 3,
|
|
32
|
+
...collapseSourcemaps([inputMap, bindingifySourcemap(result.map)])
|
|
33
|
+
};
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/utils/transform.ts
|
|
38
|
+
const yarnPnp$1 = typeof process === "object" && !!process.versions?.pnp;
|
|
39
|
+
/**
|
|
40
|
+
* Transpile a JavaScript or TypeScript into a target ECMAScript version, asynchronously.
|
|
41
|
+
*
|
|
42
|
+
* Note: This function can be slower than `transformSync` due to the overhead of spawning a thread.
|
|
43
|
+
*
|
|
44
|
+
* @param filename The name of the file being transformed. If this is a
|
|
45
|
+
* relative path, consider setting the {@linkcode TransformOptions#cwd} option.
|
|
46
|
+
* @param sourceText The source code to transform.
|
|
47
|
+
* @param options The transform options including tsconfig and inputMap. See {@linkcode TransformOptions} for more information.
|
|
48
|
+
* @param cache Optional tsconfig cache for reusing resolved tsconfig across multiple transforms.
|
|
49
|
+
* Only used when `options.tsconfig` is `true`.
|
|
50
|
+
*
|
|
51
|
+
* @returns a promise that resolves to an object containing the transformed code,
|
|
52
|
+
* source maps, and any errors that occurred during parsing or transformation.
|
|
53
|
+
*
|
|
54
|
+
* @category Utilities
|
|
55
|
+
* @experimental
|
|
56
|
+
*/
|
|
57
|
+
async function transform(filename, sourceText, options, cache) {
|
|
58
|
+
const result = await enhancedTransform(filename, sourceText, options, cache, yarnPnp$1);
|
|
59
|
+
return {
|
|
60
|
+
...result,
|
|
61
|
+
errors: result.errors.map(normalizeBindingError),
|
|
62
|
+
warnings: result.warnings.map((w) => w.field0)
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Transpile a JavaScript or TypeScript into a target ECMAScript version.
|
|
67
|
+
*
|
|
68
|
+
* @param filename The name of the file being transformed. If this is a
|
|
69
|
+
* relative path, consider setting the {@linkcode TransformOptions#cwd} option.
|
|
70
|
+
* @param sourceText The source code to transform.
|
|
71
|
+
* @param options The transform options including tsconfig and inputMap. See {@linkcode TransformOptions} for more information.
|
|
72
|
+
* @param cache Optional tsconfig cache for reusing resolved tsconfig across multiple transforms.
|
|
73
|
+
* Only used when `options.tsconfig` is `true`.
|
|
74
|
+
*
|
|
75
|
+
* @returns an object containing the transformed code, source maps, and any errors
|
|
76
|
+
* that occurred during parsing or transformation.
|
|
77
|
+
*
|
|
78
|
+
* @category Utilities
|
|
79
|
+
* @experimental
|
|
80
|
+
*/
|
|
81
|
+
function transformSync(filename, sourceText, options, cache) {
|
|
82
|
+
const result = enhancedTransformSync(filename, sourceText, options, cache, yarnPnp$1);
|
|
83
|
+
return {
|
|
84
|
+
...result,
|
|
85
|
+
errors: result.errors.map(normalizeBindingError),
|
|
86
|
+
warnings: result.warnings.map((w) => w.field0)
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/utils/resolve-tsconfig.ts
|
|
91
|
+
const yarnPnp = typeof process === "object" && !!process.versions?.pnp;
|
|
92
|
+
/**
|
|
93
|
+
* Cache for tsconfig resolution to avoid redundant file system operations.
|
|
94
|
+
*
|
|
95
|
+
* The cache stores resolved tsconfig configurations keyed by their file paths.
|
|
96
|
+
* When transforming multiple files in the same project, tsconfig lookups are
|
|
97
|
+
* deduplicated, improving performance.
|
|
98
|
+
*
|
|
99
|
+
* @category Utilities
|
|
100
|
+
* @experimental
|
|
101
|
+
*/
|
|
102
|
+
var TsconfigCache$1 = class extends TsconfigCache {
|
|
103
|
+
constructor() {
|
|
104
|
+
super(yarnPnp);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
/** @hidden This is only expected to be used by Vite */
|
|
108
|
+
function resolveTsconfig$1(filename, cache) {
|
|
109
|
+
return resolveTsconfig(filename, cache, yarnPnp);
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
export { minify$1 as a, transformSync as i, resolveTsconfig$1 as n, minifySync$1 as o, transform as r, TsconfigCache$1 as t };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
WASI as __WASI,
|
|
6
6
|
} from '@napi-rs/wasm-runtime'
|
|
7
7
|
import { memfs } from '@napi-rs/wasm-runtime/fs'
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
|
|
10
10
|
export const { fs: __fs, vol: __volume } = memfs()
|
|
11
11
|
|
|
@@ -17,8 +17,10 @@ const __wasi = new __WASI({
|
|
|
17
17
|
},
|
|
18
18
|
})
|
|
19
19
|
|
|
20
|
+
const __wasmUrl = new URL('./rolldown-binding.wasm32-wasi.wasm', import.meta.url).href
|
|
20
21
|
const __emnapiContext = __emnapiGetDefaultContext()
|
|
21
22
|
|
|
23
|
+
|
|
22
24
|
const __sharedMemory = new WebAssembly.Memory({
|
|
23
25
|
initial: 16384,
|
|
24
26
|
maximum: 65536,
|
|
@@ -61,49 +63,69 @@ const {
|
|
|
61
63
|
},
|
|
62
64
|
})
|
|
63
65
|
export default __napiModule.exports
|
|
66
|
+
export const minify = __napiModule.exports.minify
|
|
67
|
+
export const minifySync = __napiModule.exports.minifySync
|
|
68
|
+
export const Severity = __napiModule.exports.Severity
|
|
69
|
+
export const ParseResult = __napiModule.exports.ParseResult
|
|
70
|
+
export const ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
71
|
+
export const ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
72
|
+
export const ExportLocalNameKind = __napiModule.exports.ExportLocalNameKind
|
|
73
|
+
export const ImportNameKind = __napiModule.exports.ImportNameKind
|
|
74
|
+
export const parse = __napiModule.exports.parse
|
|
75
|
+
export const parseSync = __napiModule.exports.parseSync
|
|
76
|
+
export const rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
77
|
+
export const ResolverFactory = __napiModule.exports.ResolverFactory
|
|
78
|
+
export const EnforceExtension = __napiModule.exports.EnforceExtension
|
|
79
|
+
export const ModuleType = __napiModule.exports.ModuleType
|
|
80
|
+
export const sync = __napiModule.exports.sync
|
|
81
|
+
export const HelperMode = __napiModule.exports.HelperMode
|
|
82
|
+
export const isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
83
|
+
export const isolatedDeclarationSync = __napiModule.exports.isolatedDeclarationSync
|
|
84
|
+
export const moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
85
|
+
export const moduleRunnerTransformSync = __napiModule.exports.moduleRunnerTransformSync
|
|
86
|
+
export const transform = __napiModule.exports.transform
|
|
87
|
+
export const transformSync = __napiModule.exports.transformSync
|
|
64
88
|
export const BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
65
89
|
export const BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
90
|
+
export const BindingBundler = __napiModule.exports.BindingBundler
|
|
66
91
|
export const BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
67
|
-
export const
|
|
92
|
+
export const BindingChunkingContext = __napiModule.exports.BindingChunkingContext
|
|
93
|
+
export const BindingDecodedMap = __napiModule.exports.BindingDecodedMap
|
|
94
|
+
export const BindingDevEngine = __napiModule.exports.BindingDevEngine
|
|
95
|
+
export const BindingLoadPluginContext = __napiModule.exports.BindingLoadPluginContext
|
|
96
|
+
export const BindingMagicString = __napiModule.exports.BindingMagicString
|
|
68
97
|
export const BindingModuleInfo = __napiModule.exports.BindingModuleInfo
|
|
69
98
|
export const BindingNormalizedOptions = __napiModule.exports.BindingNormalizedOptions
|
|
70
99
|
export const BindingOutputAsset = __napiModule.exports.BindingOutputAsset
|
|
71
100
|
export const BindingOutputChunk = __napiModule.exports.BindingOutputChunk
|
|
72
|
-
export const BindingOutputs = __napiModule.exports.BindingOutputs
|
|
73
101
|
export const BindingPluginContext = __napiModule.exports.BindingPluginContext
|
|
74
102
|
export const BindingRenderedChunk = __napiModule.exports.BindingRenderedChunk
|
|
75
103
|
export const BindingRenderedChunkMeta = __napiModule.exports.BindingRenderedChunkMeta
|
|
76
104
|
export const BindingRenderedModule = __napiModule.exports.BindingRenderedModule
|
|
105
|
+
export const BindingSourceMap = __napiModule.exports.BindingSourceMap
|
|
77
106
|
export const BindingTransformPluginContext = __napiModule.exports.BindingTransformPluginContext
|
|
78
107
|
export const BindingWatcher = __napiModule.exports.BindingWatcher
|
|
108
|
+
export const BindingWatcherBundler = __napiModule.exports.BindingWatcherBundler
|
|
79
109
|
export const BindingWatcherChangeData = __napiModule.exports.BindingWatcherChangeData
|
|
80
110
|
export const BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
|
|
81
|
-
export const Bundler = __napiModule.exports.Bundler
|
|
82
111
|
export const ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
|
|
83
|
-
export const
|
|
84
|
-
export const
|
|
112
|
+
export const ScheduledBuild = __napiModule.exports.ScheduledBuild
|
|
113
|
+
export const TraceSubscriberGuard = __napiModule.exports.TraceSubscriberGuard
|
|
114
|
+
export const TsconfigCache = __napiModule.exports.TsconfigCache
|
|
115
|
+
export const BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
|
|
85
116
|
export const BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
|
|
86
|
-
export const
|
|
87
|
-
export const BindingJsx = __napiModule.exports.BindingJsx
|
|
117
|
+
export const BindingChunkModuleOrderBy = __napiModule.exports.BindingChunkModuleOrderBy
|
|
88
118
|
export const BindingLogLevel = __napiModule.exports.BindingLogLevel
|
|
89
119
|
export const BindingPluginOrder = __napiModule.exports.BindingPluginOrder
|
|
90
|
-
export const
|
|
91
|
-
export const
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
120
|
+
export const BindingPropertyReadSideEffects = __napiModule.exports.BindingPropertyReadSideEffects
|
|
121
|
+
export const BindingPropertyWriteSideEffects = __napiModule.exports.BindingPropertyWriteSideEffects
|
|
122
|
+
export const BindingRebuildStrategy = __napiModule.exports.BindingRebuildStrategy
|
|
123
|
+
export const collapseSourcemaps = __napiModule.exports.collapseSourcemaps
|
|
124
|
+
export const enhancedTransform = __napiModule.exports.enhancedTransform
|
|
125
|
+
export const enhancedTransformSync = __napiModule.exports.enhancedTransformSync
|
|
94
126
|
export const FilterTokenKind = __napiModule.exports.FilterTokenKind
|
|
95
|
-
export const
|
|
96
|
-
export const HelperMode = __napiModule.exports.HelperMode
|
|
97
|
-
export const ImportNameKind = __napiModule.exports.ImportNameKind
|
|
98
|
-
export const isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
99
|
-
export const moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
100
|
-
export const parseAsync = __napiModule.exports.parseAsync
|
|
101
|
-
export const parseSync = __napiModule.exports.parseSync
|
|
102
|
-
export const parseSyncRaw = __napiModule.exports.parseSyncRaw
|
|
103
|
-
export const rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
127
|
+
export const initTraceSubscriber = __napiModule.exports.initTraceSubscriber
|
|
104
128
|
export const registerPlugins = __napiModule.exports.registerPlugins
|
|
105
|
-
export const
|
|
129
|
+
export const resolveTsconfig = __napiModule.exports.resolveTsconfig
|
|
106
130
|
export const shutdownAsyncRuntime = __napiModule.exports.shutdownAsyncRuntime
|
|
107
131
|
export const startAsyncRuntime = __napiModule.exports.startAsyncRuntime
|
|
108
|
-
export const sync = __napiModule.exports.sync
|
|
109
|
-
export const transform = __napiModule.exports.transform
|
|
@@ -39,7 +39,7 @@ if (__nodeFs.existsSync(__wasmDebugFilePath)) {
|
|
|
39
39
|
__wasmFilePath = __wasmDebugFilePath
|
|
40
40
|
} else if (!__nodeFs.existsSync(__wasmFilePath)) {
|
|
41
41
|
try {
|
|
42
|
-
__wasmFilePath =
|
|
42
|
+
__wasmFilePath = require.resolve('@rolldown/binding-wasm32-wasi/rolldown-binding.wasm32-wasi.wasm')
|
|
43
43
|
} catch {
|
|
44
44
|
throw new Error('Cannot find rolldown-binding.wasm32-wasi.wasm file, and @rolldown/binding-wasm32-wasi package is not installed.')
|
|
45
45
|
}
|
|
@@ -65,6 +65,29 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
65
65
|
worker.onmessage = ({ data }) => {
|
|
66
66
|
__wasmCreateOnMessageForFsProxy(__nodeFs)(data)
|
|
67
67
|
}
|
|
68
|
+
|
|
69
|
+
// The main thread of Node.js waits for all the active handles before exiting.
|
|
70
|
+
// But Rust threads are never waited without `thread::join`.
|
|
71
|
+
// So here we hack the code of Node.js to prevent the workers from being referenced (active).
|
|
72
|
+
// According to https://github.com/nodejs/node/blob/19e0d472728c79d418b74bddff588bea70a403d0/lib/internal/worker.js#L415,
|
|
73
|
+
// a worker is consist of two handles: kPublicPort and kHandle.
|
|
74
|
+
{
|
|
75
|
+
const kPublicPort = Object.getOwnPropertySymbols(worker).find(s =>
|
|
76
|
+
s.toString().includes("kPublicPort")
|
|
77
|
+
);
|
|
78
|
+
if (kPublicPort) {
|
|
79
|
+
worker[kPublicPort].ref = () => {};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
const kHandle = Object.getOwnPropertySymbols(worker).find(s =>
|
|
83
|
+
s.toString().includes("kHandle")
|
|
84
|
+
);
|
|
85
|
+
if (kHandle) {
|
|
86
|
+
worker[kHandle].ref = () => {};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
worker.unref();
|
|
90
|
+
}
|
|
68
91
|
return worker
|
|
69
92
|
},
|
|
70
93
|
overwriteImports(importObject) {
|
|
@@ -85,49 +108,69 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
|
|
|
85
108
|
},
|
|
86
109
|
})
|
|
87
110
|
module.exports = __napiModule.exports
|
|
111
|
+
module.exports.minify = __napiModule.exports.minify
|
|
112
|
+
module.exports.minifySync = __napiModule.exports.minifySync
|
|
113
|
+
module.exports.Severity = __napiModule.exports.Severity
|
|
114
|
+
module.exports.ParseResult = __napiModule.exports.ParseResult
|
|
115
|
+
module.exports.ExportExportNameKind = __napiModule.exports.ExportExportNameKind
|
|
116
|
+
module.exports.ExportImportNameKind = __napiModule.exports.ExportImportNameKind
|
|
117
|
+
module.exports.ExportLocalNameKind = __napiModule.exports.ExportLocalNameKind
|
|
118
|
+
module.exports.ImportNameKind = __napiModule.exports.ImportNameKind
|
|
119
|
+
module.exports.parse = __napiModule.exports.parse
|
|
120
|
+
module.exports.parseSync = __napiModule.exports.parseSync
|
|
121
|
+
module.exports.rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
122
|
+
module.exports.ResolverFactory = __napiModule.exports.ResolverFactory
|
|
123
|
+
module.exports.EnforceExtension = __napiModule.exports.EnforceExtension
|
|
124
|
+
module.exports.ModuleType = __napiModule.exports.ModuleType
|
|
125
|
+
module.exports.sync = __napiModule.exports.sync
|
|
126
|
+
module.exports.HelperMode = __napiModule.exports.HelperMode
|
|
127
|
+
module.exports.isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
128
|
+
module.exports.isolatedDeclarationSync = __napiModule.exports.isolatedDeclarationSync
|
|
129
|
+
module.exports.moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
130
|
+
module.exports.moduleRunnerTransformSync = __napiModule.exports.moduleRunnerTransformSync
|
|
131
|
+
module.exports.transform = __napiModule.exports.transform
|
|
132
|
+
module.exports.transformSync = __napiModule.exports.transformSync
|
|
88
133
|
module.exports.BindingBundleEndEventData = __napiModule.exports.BindingBundleEndEventData
|
|
89
134
|
module.exports.BindingBundleErrorEventData = __napiModule.exports.BindingBundleErrorEventData
|
|
135
|
+
module.exports.BindingBundler = __napiModule.exports.BindingBundler
|
|
90
136
|
module.exports.BindingCallableBuiltinPlugin = __napiModule.exports.BindingCallableBuiltinPlugin
|
|
91
|
-
module.exports.
|
|
137
|
+
module.exports.BindingChunkingContext = __napiModule.exports.BindingChunkingContext
|
|
138
|
+
module.exports.BindingDecodedMap = __napiModule.exports.BindingDecodedMap
|
|
139
|
+
module.exports.BindingDevEngine = __napiModule.exports.BindingDevEngine
|
|
140
|
+
module.exports.BindingLoadPluginContext = __napiModule.exports.BindingLoadPluginContext
|
|
141
|
+
module.exports.BindingMagicString = __napiModule.exports.BindingMagicString
|
|
92
142
|
module.exports.BindingModuleInfo = __napiModule.exports.BindingModuleInfo
|
|
93
143
|
module.exports.BindingNormalizedOptions = __napiModule.exports.BindingNormalizedOptions
|
|
94
144
|
module.exports.BindingOutputAsset = __napiModule.exports.BindingOutputAsset
|
|
95
145
|
module.exports.BindingOutputChunk = __napiModule.exports.BindingOutputChunk
|
|
96
|
-
module.exports.BindingOutputs = __napiModule.exports.BindingOutputs
|
|
97
146
|
module.exports.BindingPluginContext = __napiModule.exports.BindingPluginContext
|
|
98
147
|
module.exports.BindingRenderedChunk = __napiModule.exports.BindingRenderedChunk
|
|
99
148
|
module.exports.BindingRenderedChunkMeta = __napiModule.exports.BindingRenderedChunkMeta
|
|
100
149
|
module.exports.BindingRenderedModule = __napiModule.exports.BindingRenderedModule
|
|
150
|
+
module.exports.BindingSourceMap = __napiModule.exports.BindingSourceMap
|
|
101
151
|
module.exports.BindingTransformPluginContext = __napiModule.exports.BindingTransformPluginContext
|
|
102
152
|
module.exports.BindingWatcher = __napiModule.exports.BindingWatcher
|
|
153
|
+
module.exports.BindingWatcherBundler = __napiModule.exports.BindingWatcherBundler
|
|
103
154
|
module.exports.BindingWatcherChangeData = __napiModule.exports.BindingWatcherChangeData
|
|
104
155
|
module.exports.BindingWatcherEvent = __napiModule.exports.BindingWatcherEvent
|
|
105
|
-
module.exports.Bundler = __napiModule.exports.Bundler
|
|
106
156
|
module.exports.ParallelJsPluginRegistry = __napiModule.exports.ParallelJsPluginRegistry
|
|
107
|
-
module.exports.
|
|
108
|
-
module.exports.
|
|
157
|
+
module.exports.ScheduledBuild = __napiModule.exports.ScheduledBuild
|
|
158
|
+
module.exports.TraceSubscriberGuard = __napiModule.exports.TraceSubscriberGuard
|
|
159
|
+
module.exports.TsconfigCache = __napiModule.exports.TsconfigCache
|
|
160
|
+
module.exports.BindingAttachDebugInfo = __napiModule.exports.BindingAttachDebugInfo
|
|
109
161
|
module.exports.BindingBuiltinPluginName = __napiModule.exports.BindingBuiltinPluginName
|
|
110
|
-
module.exports.
|
|
111
|
-
module.exports.BindingJsx = __napiModule.exports.BindingJsx
|
|
162
|
+
module.exports.BindingChunkModuleOrderBy = __napiModule.exports.BindingChunkModuleOrderBy
|
|
112
163
|
module.exports.BindingLogLevel = __napiModule.exports.BindingLogLevel
|
|
113
164
|
module.exports.BindingPluginOrder = __napiModule.exports.BindingPluginOrder
|
|
114
|
-
module.exports.
|
|
115
|
-
module.exports.
|
|
116
|
-
module.exports.
|
|
117
|
-
module.exports.
|
|
165
|
+
module.exports.BindingPropertyReadSideEffects = __napiModule.exports.BindingPropertyReadSideEffects
|
|
166
|
+
module.exports.BindingPropertyWriteSideEffects = __napiModule.exports.BindingPropertyWriteSideEffects
|
|
167
|
+
module.exports.BindingRebuildStrategy = __napiModule.exports.BindingRebuildStrategy
|
|
168
|
+
module.exports.collapseSourcemaps = __napiModule.exports.collapseSourcemaps
|
|
169
|
+
module.exports.enhancedTransform = __napiModule.exports.enhancedTransform
|
|
170
|
+
module.exports.enhancedTransformSync = __napiModule.exports.enhancedTransformSync
|
|
118
171
|
module.exports.FilterTokenKind = __napiModule.exports.FilterTokenKind
|
|
119
|
-
module.exports.
|
|
120
|
-
module.exports.HelperMode = __napiModule.exports.HelperMode
|
|
121
|
-
module.exports.ImportNameKind = __napiModule.exports.ImportNameKind
|
|
122
|
-
module.exports.isolatedDeclaration = __napiModule.exports.isolatedDeclaration
|
|
123
|
-
module.exports.moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
|
|
124
|
-
module.exports.parseAsync = __napiModule.exports.parseAsync
|
|
125
|
-
module.exports.parseSync = __napiModule.exports.parseSync
|
|
126
|
-
module.exports.parseSyncRaw = __napiModule.exports.parseSyncRaw
|
|
127
|
-
module.exports.rawTransferSupported = __napiModule.exports.rawTransferSupported
|
|
172
|
+
module.exports.initTraceSubscriber = __napiModule.exports.initTraceSubscriber
|
|
128
173
|
module.exports.registerPlugins = __napiModule.exports.registerPlugins
|
|
129
|
-
module.exports.
|
|
174
|
+
module.exports.resolveTsconfig = __napiModule.exports.resolveTsconfig
|
|
130
175
|
module.exports.shutdownAsyncRuntime = __napiModule.exports.shutdownAsyncRuntime
|
|
131
176
|
module.exports.startAsyncRuntime = __napiModule.exports.startAsyncRuntime
|
|
132
|
-
module.exports.sync = __napiModule.exports.sync
|
|
133
|
-
module.exports.transform = __napiModule.exports.transform
|
|
Binary file
|