File: update-to-recent-plugin-node-resolve.patch

package info (click to toggle)
node-rollup 3.15.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 51,264 kB
  • sloc: javascript: 108,994; sh: 26; makefile: 18
file content (27 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: update to recent @rollup/plugin-node-resolve
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2023-01-31

--- a/docs/tools/index.md
+++ b/docs/tools/index.md
@@ -104,7 +104,7 @@
 	plugins: [
 		resolve({
 			// pass custom options to the resolve plugin
-			moduleDirectories: ['node_modules']
+			modulePaths: ['node_modules']
 		})
 	],
 	// indicate which modules should be treated as external
--- a/test/chunking-form/samples/preserve-modules-root/_config.js
+++ b/test/chunking-form/samples/preserve-modules-root/_config.js
@@ -16,7 +16,7 @@
 				}
 			},
 			resolve({
-				moduleDirectories: ['custom_modules']
+				modulePaths: ['custom_modules']
 			}),
 			commonjs()
 		],