@rollup/plugin-node-resolve 16.0.0 → 16.0.1
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/README.md +3 -0
- package/dist/cjs/index.js +1 -1
- package/dist/es/index.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +7 -0
package/README.md
CHANGED
@@ -181,6 +181,9 @@ rootDir: path.join(process.cwd(), '..')
|
|
181
181
|
|
182
182
|
### `ignoreSideEffectsForRoot`
|
183
183
|
|
184
|
+
Type: `Boolean`<br>
|
185
|
+
Default: `false`
|
186
|
+
|
184
187
|
If you use the `sideEffects` property in the package.json, by default this is respected for files in the root package. Set to `true` to ignore the `sideEffects` configuration for the root package.
|
185
188
|
|
186
189
|
### `allowExportsFolderMapping`
|
package/dist/cjs/index.js
CHANGED
package/dist/es/index.js
CHANGED
@@ -8,7 +8,7 @@ import { pathToFileURL, fileURLToPath } from 'url';
|
|
8
8
|
import resolve$1 from 'resolve';
|
9
9
|
import { createFilter } from '@rollup/pluginutils';
|
10
10
|
|
11
|
-
var version = "16.0.
|
11
|
+
var version = "16.0.1";
|
12
12
|
var peerDependencies = {
|
13
13
|
rollup: "^2.78.0||^3.0.0||^4.0.0"
|
14
14
|
};
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
@@ -99,6 +99,13 @@ export interface RollupNodeResolveOptions {
|
|
99
99
|
*/
|
100
100
|
rootDir?: string;
|
101
101
|
|
102
|
+
/**
|
103
|
+
* If you use the `sideEffects` property in the package.json, by default this is respected for files in the root package. Set to `true` to ignore the `sideEffects` configuration for the root package.
|
104
|
+
*
|
105
|
+
* @default false
|
106
|
+
*/
|
107
|
+
ignoreSideEffectsForRoot?: boolean;
|
108
|
+
|
102
109
|
/**
|
103
110
|
* Allow folder mappings in package exports (trailing /)
|
104
111
|
* This was deprecated in Node 14 and removed with Node 17, see DEP0148.
|