Codebase list node-d3-scale-chromatic / ba783a5
Use node-rollup-plugin-terser (now available in the archive) Pirate Praveen 3 years ago
5 changed file(s) with 4 addition(s) and 39 deletion(s). Raw diff Collapse all Expand all
1111 , node-d3-interpolate
1212 , node-tape
1313 , pkg-js-tools (>= 0.8.11)
14 , uglifyjs.terser
14 , node-rollup-plugin-terser
1515 Standards-Version: 4.5.1
1616 Vcs-Browser: https://salsa.debian.org/js-team/node-d3-scale-chromatic
1717 Vcs-Git: https://salsa.debian.org/js-team/node-d3-scale-chromatic.git
+0
-30
debian/patches/fix_rollup_config.diff less more
0 Description: patch to fix rollup.config.js
1 --- a/rollup.config.js
2 +++ b/rollup.config.js
3 @@ -1,4 +1,3 @@
4 -import {terser} from "rollup-plugin-terser";
5 import * as meta from "./package.json";
6
7 const config = {
8 @@ -18,19 +17,4 @@
9
10 export default [
11 config,
12 - {
13 - ...config,
14 - output: {
15 - ...config.output,
16 - file: `dist/${meta.name}.min.js`
17 - },
18 - plugins: [
19 - ...config.plugins,
20 - terser({
21 - output: {
22 - preamble: config.output.banner
23 - }
24 - })
25 - ]
26 - }
27 -];
28 +];
29 \ No newline at end of file
11 Author: Chris Lamb <lamby@debian.org>
22 Last-Update: 2019-06-22
33
4 --- node-d3-scale-chromatic-1.3.3.orig/rollup.config.js
5 +++ node-d3-scale-chromatic-1.3.3/rollup.config.js
6 @@ -9,7 +9,7 @@ const config = {
4 --- a/rollup.config.js
5 +++ b/rollup.config.js
6 @@ -10,7 +10,7 @@
77 format: "umd",
88 indent: false,
99 extend: true,
0 fix_rollup_config.diff
10 reproducible_build.diff
00 #!/usr/bin/make -f
11 # -*- makefile -*-
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
52
63 %:
74 dh $@ --with nodejs
85
96 override_dh_auto_build:
107 rollup -c
11 uglifyjs.terser dist/d3-scale-chromatic.js -o dist/d3-scale-chromatic.min.js