You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enable presets of externals for specific targets.
1489
1489
*/
1490
1490
exportinterfaceExternalsPresets{
1491
+
/**
1492
+
* Treat bun built-in modules like 'bun', 'bun:sqlite' or 'bun:ffi' and node.js built-in modules as external and load them via import when used (for the Bun runtime).
1493
+
*/
1494
+
bun?: boolean;
1491
1495
/**
1492
1496
* Treat node.js built-in modules like fs, path or vm as external and load them via the required 'node:' specifier when used (for the Deno runtime).
MIT License http://www.opensource.org/licenses/mit-license.php
Copy file name to clipboardExpand all lines: schemas/WebpackOptions.json
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1435,6 +1435,10 @@
1435
1435
"type": "object",
1436
1436
"additionalProperties": false,
1437
1437
"properties": {
1438
+
"bun": {
1439
+
"description": "Treat bun built-in modules like 'bun', 'bun:sqlite' or 'bun:ffi' and node.js built-in modules as external and load them via import when used (for the Bun runtime).",
1440
+
"type": "boolean"
1441
+
},
1438
1442
"deno": {
1439
1443
"description": "Treat node.js built-in modules like fs, path or vm as external and load them via the required 'node:' specifier when used (for the Deno runtime).",
0 commit comments