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
How to handle the `node:` scheme used in recent versions of Node (i.e., `import path from 'node:path'`).
126
126
- If `add` (the default, recommended), the `node:` scheme is always added if missing. In effect, this dedupes your imports of Node builtins by homogenizing their names to their schemed version.
127
-
- If `strip`, the scheme is always removed. In effect, this dedupes your imports of Node builtins by homogenizing their names to their unschemed version. Schemed-only builtins like `node:test` are never stripped.
127
+
- If `strip`, the scheme is always removed. In effect, this dedupes your imports of Node builtins by homogenizing their names to their scheme-less version. Schemed-only builtins like `node:test` are never stripped.
128
128
-`ignore` will simply leave all builtins imports as written in your code.
129
129
> _Note that scheme handling is always applied, regardless of the `builtins` options being enabled or not._
130
130
@@ -252,7 +252,7 @@ export default defineConfig({
252
252
- This plugin now has a **peer-dependency** on Rollup `^3.0.0 || ^4.0.0`.<br />*If you need Rollup 2 support, please stick to v5.*
253
253
254
254
#### Breaking changes in version 5
255
-
- In previous versions, the `devDeps` option defaulted to `true`.<br>This was practical, but often wrong: devDependencies are meant just for that: being used when developping. Therefore, the `devDeps` option now defaults to `false`, meaning Rollup will include them in your bundle.
255
+
- In previous versions, the `devDeps` option defaulted to `true`.<br>This was practical, but often wrong: devDependencies are meant just for that: being used when developing. Therefore, the `devDeps` option now defaults to `false`, meaning Rollup will include them in your bundle.
256
256
- As anticipated since v4, the `builtinsPrefix` option now defaults to `'add'`.
257
257
- The deprecated `prefixedBuiltins` option has been removed. Use `builtinsPrefix` instead.
258
258
-`rollup-plugin-node-externals` no longer depends on the Find-Up package (while this is not a breaking change per se, it can be in some edge situations).
0 commit comments