File: add-system-path.patch

package info (click to toggle)
node-rollup-plugin-node-polyfills 0.2.1%2Bdfsg%2B~0.11.0-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,748 kB
  • sloc: javascript: 33,166; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Add system path
 Resolve system modules
--- a/scripts/build-polyfills.js
+++ b/scripts/build-polyfills.js
@@ -18,11 +18,11 @@
   const bundle = await rollup.rollup({
     input: depName,
     plugins: [
-      commonjs(),
-      nodeResolve({
+        nodeResolve({
         browser: true,
         preferBuiltins: true
       }),
+      commonjs(),
       // license({
       //   thirdParty: {
       //     output: path.join(__dirname, '..', 'polyfills', `LICENSE-${depName}.txt`),