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
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,14 +106,14 @@ export default {
106
106
```
107
107
108
108
#### builtins?: boolean = true
109
-
Set the `builtins` option to `false` if you'd like to use some shims/polyfills for those. You'll most certainly need [an other plugin](https://github.com/ionic-team/rollup-plugin-node-polyfills)for this.
109
+
Set the `builtins` option to `false` if you'd like to use some shims/polyfills for those. You'll most certainly need [an other plugin](https://github.com/ionic-team/rollup-plugin-node-polyfills)as well.
How to handle the `node:` scheme used in recent versions of Node (i.e., `import path from 'node:path'`).<br>
112
+
How to handle the `node:` scheme used in recent versions of Node (i.e., `import path from 'node:path'`).
113
113
- If `add` (the default, recommended), the `node:` prefix is always added. In effect, this homogenizes all your imports of Node builtins to their prefixed version.
114
-
- If `strip` (the default), the import is always resolved unprefixed. In effect, this homogenizes all your imports of Node builtins to their unprefixed version.
114
+
- If `strip`, the prefix is always removed. In effect, this homogenizes all your imports of Node builtins to their unprefixed version.
115
115
-`ignore` will simply leave all builtins imports as written in your code.
116
-
> _Note that prefix handling is always applied, regardless of the `builtins` options being enabled or disabled._
116
+
> _Note that prefix handling is always applied, regardless of the `builtins` options being enabled or not._
117
117
118
118
#### packagePath?: string | string[] = []
119
119
If you're working with monorepos, the `packagePath` option is made for you. It can take a path, or an array of paths, to your package.json file(s). If not specified, the default is to start with the current directory's package.json then go up scan for all `package.json` files in parent directories recursively until either the root git directory is reached or until no other `package.json` can be found.
@@ -130,7 +130,7 @@ Use the `include` option to force certain dependencies into the list of external
0 commit comments