@rollup/wasm-node 5.0.0-0 → 5.0.0-2
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/LICENSE.md +0 -17
- package/dist/bin/rollup +119 -108
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +1637 -1092
- package/dist/es/shared/parseAst.js +123 -31
- package/dist/es/shared/watch.js +3204 -1008
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/native.js +19 -3
- package/dist/parseAst.js +2 -2
- package/dist/rollup.android-arm-eabi.node +0 -0
- package/dist/rollup.android-arm64.node +0 -0
- package/dist/rollup.android-x64.node +0 -0
- package/dist/rollup.d.ts +23 -9
- package/dist/rollup.darwin-arm64.node +0 -0
- package/dist/rollup.darwin-x64.node +0 -0
- package/dist/rollup.freebsd-arm64.node +0 -0
- package/dist/rollup.freebsd-x64.node +0 -0
- package/dist/rollup.js +2 -2
- package/dist/rollup.linux-arm-gnueabihf.node +0 -0
- package/dist/rollup.linux-arm-musleabihf.node +0 -0
- package/dist/rollup.linux-arm64-gnu.node +0 -0
- package/dist/rollup.linux-arm64-musl.node +0 -0
- package/dist/rollup.linux-loong64-gnu.node +0 -0
- package/dist/rollup.linux-loong64-musl.node +0 -0
- package/dist/rollup.linux-ppc64-gnu.node +0 -0
- package/dist/rollup.linux-ppc64-musl.node +0 -0
- package/dist/rollup.linux-riscv64-gnu.node +0 -0
- package/dist/rollup.linux-riscv64-musl.node +0 -0
- package/dist/rollup.linux-s390x-gnu.node +0 -0
- package/dist/rollup.linux-x64-gnu.node +0 -0
- package/dist/rollup.linux-x64-musl.node +0 -0
- package/dist/rollup.openbsd-x64.node +0 -0
- package/dist/rollup.openharmony-arm64.node +0 -0
- package/dist/rollup.win32-arm64-msvc.node +0 -0
- package/dist/rollup.win32-ia32-msvc.node +0 -0
- package/dist/rollup.win32-x64-gnu.node +0 -0
- package/dist/rollup.win32-x64-msvc.node +0 -0
- package/dist/shared/index.js +3198 -1002
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/node-entry.js +2 -2
- package/dist/shared/parseAst.js +129 -37
- package/dist/shared/rollup.js +1594 -1049
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +2 -18
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +26 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v5.0.0-
|
|
4
|
-
|
|
3
|
+
Rollup.js v5.0.0-2
|
|
4
|
+
Sun, 01 Nov 2026 08:56:25 GMT - commit 4009894760dbcbff5ba6cefa494787cc54ffaa62
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -12,22 +12,40 @@ import { resolve, dirname, basename, extname } from 'node:path';
|
|
|
12
12
|
|
|
13
13
|
// Replaces node:path in the browser build. Keep the behavior consistent with
|
|
14
14
|
// the Node build so that both builds handle paths the same way.
|
|
15
|
+
const ABSOLUTE_PATH_REGEX$1 = /^(?:\/|(?:[A-Za-z]:)?[/\\|])/;
|
|
15
16
|
const ANY_SLASH_REGEX = /[/\\]/;
|
|
17
|
+
const DRIVE_REGEX = /^[A-Za-z]:$/;
|
|
18
|
+
function isAbsolute$1(path) {
|
|
19
|
+
return ABSOLUTE_PATH_REGEX$1.test(path);
|
|
20
|
+
}
|
|
21
|
+
function normalizePathSegments(parts, absolute) {
|
|
22
|
+
const normalized = [];
|
|
23
|
+
// A drive like "C:" is the root of the path, so ".." cannot climb above it
|
|
24
|
+
const root = DRIVE_REGEX.test(parts[0]) ? 1 : 0;
|
|
25
|
+
for (const part of parts) {
|
|
26
|
+
if (part === '..') {
|
|
27
|
+
if (normalized.length > root && normalized[normalized.length - 1] !== '..') {
|
|
28
|
+
normalized.pop();
|
|
29
|
+
}
|
|
30
|
+
else if (!absolute && root === 0) {
|
|
31
|
+
normalized.push('..');
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
else if (part !== '.' && part !== '') {
|
|
35
|
+
normalized.push(part);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return normalized;
|
|
39
|
+
}
|
|
16
40
|
function relative(from, to) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
if (toParts[0] === '.')
|
|
22
|
-
toParts.shift();
|
|
41
|
+
// "." and ".." segments are collapsed on both sides first, as node:path
|
|
42
|
+
// does, so that "/a/./b" and "/a/b" describe the same location.
|
|
43
|
+
const fromParts = normalizePathSegments(from.split(ANY_SLASH_REGEX), isAbsolute$1(from));
|
|
44
|
+
const toParts = normalizePathSegments(to.split(ANY_SLASH_REGEX), isAbsolute$1(to));
|
|
23
45
|
while (fromParts[0] && toParts[0] && fromParts[0] === toParts[0]) {
|
|
24
46
|
fromParts.shift();
|
|
25
47
|
toParts.shift();
|
|
26
48
|
}
|
|
27
|
-
while (toParts[0] === '..' && fromParts.length > 0) {
|
|
28
|
-
toParts.shift();
|
|
29
|
-
fromParts.pop();
|
|
30
|
-
}
|
|
31
49
|
while (fromParts.pop()) {
|
|
32
50
|
toParts.unshift('..');
|
|
33
51
|
}
|
|
@@ -265,7 +283,6 @@ const URL_OUTPUT_AMD_BASEPATH = 'configuration-options/#output-amd-basepath';
|
|
|
265
283
|
const URL_OUTPUT_DIR = 'configuration-options/#output-dir';
|
|
266
284
|
const URL_OUTPUT_EXPORTS = 'configuration-options/#output-exports';
|
|
267
285
|
const URL_OUTPUT_EXTEND = 'configuration-options/#output-extend';
|
|
268
|
-
const URL_OUTPUT_EXTERNALIMPORTATTRIBUTES = 'configuration-options/#output-externalimportattributes';
|
|
269
286
|
const URL_OUTPUT_FORMAT = 'configuration-options/#output-format';
|
|
270
287
|
const URL_OUTPUT_GENERATEDCODE = 'configuration-options/#output-generatedcode';
|
|
271
288
|
const URL_OUTPUT_GLOBALS = 'configuration-options/#output-globals';
|
|
@@ -301,6 +318,15 @@ function getRollupError(base) {
|
|
|
301
318
|
});
|
|
302
319
|
return errorInstance;
|
|
303
320
|
}
|
|
321
|
+
function logErrorInHook(originalError, hookError, hookName) {
|
|
322
|
+
augmentLogMessage(originalError);
|
|
323
|
+
augmentLogMessage(hookError);
|
|
324
|
+
const phase = hookName === 'buildEnd' ? 'the build' : 'rendering';
|
|
325
|
+
return {
|
|
326
|
+
...originalError,
|
|
327
|
+
message: `There was an error during ${phase}:\n ${originalError.message}\nAdditionally, handling the error in the '${hookName}' hook caused the following error:\n ${hookError.message}`
|
|
328
|
+
};
|
|
329
|
+
}
|
|
304
330
|
function augmentCodeLocation(properties, pos, source, id) {
|
|
305
331
|
if (typeof pos === 'object') {
|
|
306
332
|
const { line, column } = pos;
|
|
@@ -2260,7 +2286,7 @@ const nodeConverters$1 = [
|
|
|
2260
2286
|
return result;
|
|
2261
2287
|
},
|
|
2262
2288
|
get value() {
|
|
2263
|
-
const result =
|
|
2289
|
+
const result = buffer.convertFloat64(position + 3);
|
|
2264
2290
|
Object.defineProperty(node, 'value', { value: result });
|
|
2265
2291
|
return result;
|
|
2266
2292
|
}
|
|
@@ -2859,13 +2885,61 @@ function convertNodeList$1(position, buffer) {
|
|
|
2859
2885
|
return list;
|
|
2860
2886
|
}
|
|
2861
2887
|
|
|
2888
|
+
// Buffers hold 32-bit words in host byte order. For words that represent
|
|
2889
|
+
// strings, the four string bytes are packed LSB-first into the word, which on
|
|
2890
|
+
// little-endian hosts leaves the raw encoded string bytes in memory while
|
|
2891
|
+
// big-endian hosts need the byte order of each word reversed.
|
|
2892
|
+
const isBigEndianHost = new Uint8Array(new Uint32Array([1]).buffer)[0] === 0;
|
|
2893
|
+
const scratchFloat64 = new DataView(new ArrayBuffer(8));
|
|
2894
|
+
let scratchStringBytes = new Uint8Array(0);
|
|
2895
|
+
const writeFloat64 = function (value, wordPosition) {
|
|
2896
|
+
scratchFloat64.setFloat64(0, value, true);
|
|
2897
|
+
this[wordPosition] = scratchFloat64.getUint32(0, true);
|
|
2898
|
+
this[wordPosition + 1] = scratchFloat64.getUint32(4, true);
|
|
2899
|
+
};
|
|
2900
|
+
function writeStringWordsBigEndian(buffer, byteBuffer, bytePosition, byteLength) {
|
|
2901
|
+
const firstWordPosition = bytePosition >> 2;
|
|
2902
|
+
const wordCount = (byteLength + 3) >> 2;
|
|
2903
|
+
for (let index = 0; index < wordCount; index++) {
|
|
2904
|
+
const offset = bytePosition + (index << 2);
|
|
2905
|
+
buffer[firstWordPosition + index] =
|
|
2906
|
+
byteBuffer[offset] |
|
|
2907
|
+
(byteBuffer[offset + 1] << 8) |
|
|
2908
|
+
(byteBuffer[offset + 2] << 16) |
|
|
2909
|
+
(byteBuffer[offset + 3] << 24);
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
2912
|
+
const expandPackedString = (array, position, length) => {
|
|
2913
|
+
const paddedByteLength = ((length + 3) >> 2) << 2;
|
|
2914
|
+
if (scratchStringBytes.length < paddedByteLength) {
|
|
2915
|
+
scratchStringBytes = new Uint8Array(paddedByteLength);
|
|
2916
|
+
}
|
|
2917
|
+
const firstStringWord = position + 1;
|
|
2918
|
+
for (let index = 0; index < paddedByteLength >> 2; index++) {
|
|
2919
|
+
const word = array[firstStringWord + index];
|
|
2920
|
+
scratchStringBytes[index << 2] = word & 0xff;
|
|
2921
|
+
scratchStringBytes[(index << 2) + 1] = (word >>> 8) & 0xff;
|
|
2922
|
+
scratchStringBytes[(index << 2) + 2] = (word >>> 16) & 0xff;
|
|
2923
|
+
scratchStringBytes[(index << 2) + 3] = (word >>> 24) & 0xff;
|
|
2924
|
+
}
|
|
2925
|
+
return scratchStringBytes.subarray(0, length);
|
|
2926
|
+
};
|
|
2927
|
+
const decodePackedString = (array, position, length) => {
|
|
2928
|
+
const bytes = expandPackedString(array, position, length);
|
|
2929
|
+
return typeof Buffer !== 'undefined'
|
|
2930
|
+
? Buffer.from(bytes.buffer, bytes.byteOffset, bytes.length).toString('utf8')
|
|
2931
|
+
: new TextDecoder().decode(bytes);
|
|
2932
|
+
};
|
|
2862
2933
|
function getAstBuffer(byteBuffer) {
|
|
2863
2934
|
// Create an aligned copy for misaligned views, e.g. buffers restored by
|
|
2864
2935
|
// v8.deserialize, as the Uint32Array below requires a 4-byte aligned offset
|
|
2865
2936
|
const alignedByteBuffer = byteBuffer.byteOffset & 3 ? new Uint8Array(byteBuffer) : byteBuffer;
|
|
2866
2937
|
const array = new Uint32Array(alignedByteBuffer.buffer, alignedByteBuffer.byteOffset, alignedByteBuffer.byteLength >> 2);
|
|
2867
2938
|
let convertString;
|
|
2868
|
-
if (
|
|
2939
|
+
if (isBigEndianHost) {
|
|
2940
|
+
convertString = position => decodePackedString(array, position, array[position]);
|
|
2941
|
+
}
|
|
2942
|
+
else if (typeof Buffer !== 'undefined' && byteBuffer instanceof Buffer) {
|
|
2869
2943
|
convertString = position => {
|
|
2870
2944
|
const length = array[position];
|
|
2871
2945
|
const bytePosition = (position + 1) << 2;
|
|
@@ -2880,11 +2954,19 @@ function getAstBuffer(byteBuffer) {
|
|
|
2880
2954
|
return textDecoder.decode(byteBuffer.subarray(bytePosition, bytePosition + length));
|
|
2881
2955
|
};
|
|
2882
2956
|
}
|
|
2883
|
-
return Object.assign(array, {
|
|
2957
|
+
return Object.assign(array, {
|
|
2958
|
+
convertFloat64(position) {
|
|
2959
|
+
scratchFloat64.setUint32(0, this[position], true);
|
|
2960
|
+
scratchFloat64.setUint32(4, this[position + 1], true);
|
|
2961
|
+
return scratchFloat64.getFloat64(0, true);
|
|
2962
|
+
},
|
|
2963
|
+
convertString
|
|
2964
|
+
});
|
|
2884
2965
|
}
|
|
2885
2966
|
function createAstBufferUint8(uInt32Size) {
|
|
2886
2967
|
const buffer = new Uint32Array(uInt32Size);
|
|
2887
2968
|
const encoder = new TextEncoder();
|
|
2969
|
+
const byteBuffer = new Uint8Array(buffer.buffer);
|
|
2888
2970
|
return Object.assign(buffer, {
|
|
2889
2971
|
addStringToBuffer(text, referencePosition) {
|
|
2890
2972
|
const insertPosition = buffer.position;
|
|
@@ -2895,10 +2977,14 @@ function createAstBufferUint8(uInt32Size) {
|
|
|
2895
2977
|
const reservedSize = 1 + ((encodedByteLength + 3) >> 2);
|
|
2896
2978
|
const extendedBuffer = buffer.reserve(reservedSize);
|
|
2897
2979
|
extendedBuffer[insertPosition] = encodedByteLength;
|
|
2898
|
-
|
|
2980
|
+
const stringBytePosition = (insertPosition + 1) << 2;
|
|
2981
|
+
extendedBuffer.byteBuffer.set(encoded, stringBytePosition);
|
|
2982
|
+
if (isBigEndianHost) {
|
|
2983
|
+
writeStringWordsBigEndian(extendedBuffer, extendedBuffer.byteBuffer, stringBytePosition, encodedByteLength);
|
|
2984
|
+
}
|
|
2899
2985
|
return extendedBuffer;
|
|
2900
2986
|
},
|
|
2901
|
-
byteBuffer
|
|
2987
|
+
byteBuffer,
|
|
2902
2988
|
position: 0,
|
|
2903
2989
|
reserve(size) {
|
|
2904
2990
|
const newPosition = buffer.position + size;
|
|
@@ -2913,12 +2999,14 @@ function createAstBufferUint8(uInt32Size) {
|
|
|
2913
2999
|
},
|
|
2914
3000
|
toOutput() {
|
|
2915
3001
|
const byteSize = buffer.position << 2;
|
|
2916
|
-
return
|
|
2917
|
-
}
|
|
3002
|
+
return byteBuffer.slice(0, byteSize);
|
|
3003
|
+
},
|
|
3004
|
+
writeFloat64
|
|
2918
3005
|
});
|
|
2919
3006
|
}
|
|
2920
3007
|
function createAstBufferNode(uInt32Size) {
|
|
2921
3008
|
const buffer = new Uint32Array(uInt32Size);
|
|
3009
|
+
const byteBuffer = Buffer.from(buffer.buffer);
|
|
2922
3010
|
return Object.assign(buffer, {
|
|
2923
3011
|
addStringToBuffer(text, referencePosition) {
|
|
2924
3012
|
let extendedBuffer = buffer;
|
|
@@ -2926,19 +3014,22 @@ function createAstBufferNode(uInt32Size) {
|
|
|
2926
3014
|
if (requiredSize > buffer.length) {
|
|
2927
3015
|
// Reserve more space if needed
|
|
2928
3016
|
extendedBuffer = createAstBufferNode(requiredSize * 2);
|
|
2929
|
-
|
|
3017
|
+
byteBuffer.copy(extendedBuffer.byteBuffer, 0, 0, buffer.position << 2);
|
|
2930
3018
|
extendedBuffer.position = buffer.position;
|
|
2931
3019
|
}
|
|
2932
3020
|
const insertPosition = extendedBuffer.position;
|
|
2933
3021
|
extendedBuffer[referencePosition] = insertPosition;
|
|
2934
|
-
const
|
|
2935
|
-
const encodedLength = extendedBuffer.byteBuffer.write(text,
|
|
3022
|
+
const stringBytePosition = (insertPosition + 1) << 2;
|
|
3023
|
+
const encodedLength = extendedBuffer.byteBuffer.write(text, stringBytePosition);
|
|
2936
3024
|
extendedBuffer[insertPosition] = encodedLength;
|
|
3025
|
+
if (isBigEndianHost) {
|
|
3026
|
+
writeStringWordsBigEndian(extendedBuffer, extendedBuffer.byteBuffer, stringBytePosition, encodedLength);
|
|
3027
|
+
}
|
|
2937
3028
|
// Round up to the next 4-byte boundary
|
|
2938
|
-
extendedBuffer.position = (
|
|
3029
|
+
extendedBuffer.position = (stringBytePosition + encodedLength + 3) >> 2;
|
|
2939
3030
|
return extendedBuffer;
|
|
2940
3031
|
},
|
|
2941
|
-
byteBuffer
|
|
3032
|
+
byteBuffer,
|
|
2942
3033
|
position: 0,
|
|
2943
3034
|
reserve(size) {
|
|
2944
3035
|
const newPosition = buffer.position + size;
|
|
@@ -2947,7 +3038,7 @@ function createAstBufferNode(uInt32Size) {
|
|
|
2947
3038
|
return buffer;
|
|
2948
3039
|
}
|
|
2949
3040
|
const newBuffer = createAstBufferNode(newPosition * 2);
|
|
2950
|
-
|
|
3041
|
+
byteBuffer.copy(newBuffer.byteBuffer, 0, 0, buffer.position << 2);
|
|
2951
3042
|
newBuffer.position = newPosition;
|
|
2952
3043
|
return newBuffer;
|
|
2953
3044
|
},
|
|
@@ -2956,9 +3047,10 @@ function createAstBufferNode(uInt32Size) {
|
|
|
2956
3047
|
// The "slow" version will allocate exactly the needed size and is preferable
|
|
2957
3048
|
// for long-term memory usage.
|
|
2958
3049
|
const truncatedBuffer = Buffer.allocUnsafeSlow(byteSize);
|
|
2959
|
-
|
|
3050
|
+
byteBuffer.copy(truncatedBuffer, 0, 0, byteSize);
|
|
2960
3051
|
return truncatedBuffer;
|
|
2961
|
-
}
|
|
3052
|
+
},
|
|
3053
|
+
writeFloat64
|
|
2962
3054
|
});
|
|
2963
3055
|
}
|
|
2964
3056
|
|
|
@@ -3689,7 +3781,7 @@ const nodeConverters = [
|
|
|
3689
3781
|
start: buffer[position],
|
|
3690
3782
|
end: buffer[position + 1],
|
|
3691
3783
|
raw: rawPosition === 0 ? undefined : buffer.convertString(rawPosition),
|
|
3692
|
-
value:
|
|
3784
|
+
value: buffer.convertFloat64(position + 3)
|
|
3693
3785
|
};
|
|
3694
3786
|
},
|
|
3695
3787
|
function literalRegExp(position, buffer) {
|
|
@@ -5113,7 +5205,7 @@ const serializeLiteralNumber = (node, buffer) => {
|
|
|
5113
5205
|
if (node.raw != null) {
|
|
5114
5206
|
buffer = buffer.addStringToBuffer(node.raw, nodePosition + 3);
|
|
5115
5207
|
}
|
|
5116
|
-
|
|
5208
|
+
buffer.writeFloat64(node.value, nodePosition + 4);
|
|
5117
5209
|
return buffer;
|
|
5118
5210
|
};
|
|
5119
5211
|
const serializeLiteralRegExp = (node, buffer) => {
|
|
@@ -5389,4 +5481,4 @@ const parseAstAsync = async (input, { allowReturnOutsideFunction = false, jsx =
|
|
|
5389
5481
|
const parseLazyAst = (input, { allowReturnOutsideFunction = false, jsx = false } = {}) => deserializeLazyAst(parse(input, allowReturnOutsideFunction, jsx));
|
|
5390
5482
|
const parseLazyAstAsync = async (input, { allowReturnOutsideFunction = false, jsx = false } = {}) => deserializeLazyAst(await parseAsync(input, allowReturnOutsideFunction, jsx));
|
|
5391
5483
|
|
|
5392
|
-
export { ArrowFunctionExpression, AwaitExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, FunctionDeclaration, FunctionExpression, Identifier, IfStatement$1 as IfStatement, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, MemberExpression, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_LOAD, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR,
|
|
5484
|
+
export { ArrowFunctionExpression, AwaitExpression, BLANK, BlockStatement, CallExpression, CatchClause, EMPTY_ARRAY, EMPTY_OBJECT, EMPTY_SET, ExportDefaultDeclaration, ExpressionStatement, FIXED_STRINGS, FunctionDeclaration, FunctionExpression, Identifier, IfStatement$1 as IfStatement, LOGLEVEL_DEBUG, LOGLEVEL_ERROR, LOGLEVEL_INFO, LOGLEVEL_WARN, Literal, MemberExpression, ObjectExpression, Program, Property, RestElement, ReturnStatement, StaticBlock, TemplateLiteral, URL_GENERATEBUNDLE, URL_JSX, URL_LOAD, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_AMD_ID, URL_OUTPUT_DIR, URL_OUTPUT_FORMAT, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_IMPORTATTRIBUTESKEY, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_OUTPUT_INTEROP, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_SOURCEMAPFILE, URL_PRESERVEENTRYSIGNATURES, URL_THIS_RESOLVE, URL_TRANSFORM, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_WATCH, VariableDeclarator, addTrailingSlashIfMissed, augmentCodeLocation, augmentLogMessage, convertAnnotations, convertNode$1 as convertNode, deserializeAst, deserializeLazyAst, error, getAliasName, getAstBuffer, getImportPath, getRollupError, isAbsolute, isPathFragment, isRelative, isValidUrl, locate, logAddonNotGenerated, logAlreadyClosed, logAmbiguousExternalNamespaces, logAmbiguousGlobalName, logAnonymousPluginCache, logAssetNotFinalisedForFileName, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logBadLoader, logCannotAssignModuleToChunk, logCannotCallNamespace, logCannotEmitFromOptionsHook, logChunkInvalid, logChunkNotGeneratedForFileName, logCircularChunk, logCircularDependency, logCircularReexport, logConflictingSourcemapSources, logConstVariableReassignError, logCyclicCrossChunkReexport, logDuplicateArgumentNameError, logDuplicateExportError, logDuplicatePluginName, logEmptyChunk, logEmptyManualChunk, logEntryCannotBeExternal, logErrorInHook, logEval, logExternalModulesCannotBeIncludedInManualChunks, logExternalModulesCannotBeTransformedToModules, logExternalSyntheticExports, logFailedValidation, logFileNameConflict, logFileNameOutsideOutputDirectory, logFileReferenceIdNotFoundForFilename, logFirstSideEffect, logIllegalIdentifierAsName, logIllegalImportReassignment, logImplicitDependantCannotBeExternal, logImplicitDependantIsNotIncluded, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logIncompatibleExportOptionValue, logInputHookInOutputPlugin, logInternalIdCannotBeExternal, logInvalidAddonPluginHook, logInvalidAnnotation, logInvalidExportOptionValue, logInvalidFormatForTopLevelAwait, logInvalidFunctionPluginHook, logInvalidLogPosition, logInvalidOption, logInvalidRollupPhaseForChunkEmission, logInvalidSetAssetSourceCall, logInvalidSourcemapForError, logLevelPriority, logMissingEntryExport, logMissingExport, logMissingFileOrDirOption, logMissingGlobalName, logMissingJsxExport, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, logMissingNodeBuiltins, logMixedExport, logModuleLevelDirective, logModuleParseError, logNamespaceConflict, logNoAssetSourceSet, logNoTransformMapOrAstWithoutCode, logNonExternalSourcePhaseImport, logOptimizeChunkStatus, logParseError, logPluginError, logRedeclarationError, logReservedNamespace, logShimmedExport, logSourcePhaseFormatUnsupported, logSourcemapBroken, logSyntheticNamedExportsNeedNamespaceExport, logThisIsUndefined, logUnexpectedNamedImport, logUnexpectedNamespaceReexport, logUnknownOption, logUnresolvedEntry, logUnresolvedImplicitDependant, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logUnusedExternalImports, nodeTypeStrings, normalize, parseAndWalk, parseAst, parseAstAsync, parseLazyAst, parseLazyAstAsync, printQuotedStringList, relative, relativeId, serializeAst, warnDeprecation };
|