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,
|