File: fix-for-rollup-plugin-alias.diff

package info (click to toggle)
vue.js 2.6.12%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,124 kB
  • sloc: javascript: 80,436; sh: 97; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 593 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: fix rollup-plugin-alias use for rollup-plugin-alias ≥ 2
 see https://github.com/rollup/rollup-plugin-alias/pull/53
Author: Xavier Guimard <yadd@debian.org>
Forwarded: no
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-09-25

--- a/scripts/config.js
+++ b/scripts/config.js
@@ -220,7 +220,7 @@
     external: opts.external,
     plugins: [
       flow(),
-      alias(Object.assign({}, aliases, opts.alias))
+      alias({entries:Object.assign({}, aliases, opts.alias)})
     ].concat(opts.plugins || []),
     output: {
       file: opts.dest,