@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 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
@@ -12,7 +12,7 @@ var url = require('url');
12
12
  var resolve = require('resolve');
13
13
  var pluginutils = require('@rollup/pluginutils');
14
14
 
15
- var version = "16.0.0";
15
+ var version = "16.0.1";
16
16
  var peerDependencies = {
17
17
  rollup: "^2.78.0||^3.0.0||^4.0.0"
18
18
  };
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.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rollup/plugin-node-resolve",
3
- "version": "16.0.0",
3
+ "version": "16.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
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.