File: drop-legacy-node-resolve.patch

package info (click to toggle)
node-sourcemap-codec 1.4.8-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 132 kB
  • sloc: javascript: 203; makefile: 4
file content (21 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Forwarded: https://github.com/Rich-Harris/sourcemap-codec/pull/84

--- a/rollup.config.js
+++ b/rollup.config.js
@@ -1,5 +1,5 @@
 import typescript from 'rollup-plugin-typescript';
-import resolve from 'rollup-plugin-node-resolve';
+import nodeResolve from '@rollup/plugin-node-resolve';
 
 const pkg = require( './package.json' );
 
@@ -10,7 +10,7 @@
 			exclude: 'node_modules/**',
 			typescript: require('typescript')
 		}),
-		resolve({ jsnext: true })
+		nodeResolve({ jsnext: true })
 	],
 	output: [{
 		file: pkg.main,