<div id="geary-body" dir="auto"><div><br></div></div><div id="geary-quote" dir="auto"><br>On Sun, Oct 6, 2019 at 08:57, Nicolas Mora <nicolas@babelouest.org> wrote:<br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">Hello,

I'm trying to package i18next for Debian [1]. The upstream dev use
rollup to build the i18next.js file with rollup-plugin-terser.
Unfortunately, rollup-plugin-terser isn't in Debian yet and requires a
lot of unpackaged dependencies.

I can build i18next.js with webpack, all the required plugins are
already present.

I'm wondering if a i18next package built with another tool would be
accepted?
<br></div></blockquote><span style="white-space: pre-wrap;"><div><span style="white-space: pre-wrap;"><br></span></div>You can just patch out rollup-plugin-terser usage and use uglifyjs.terser command line.</span><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">See https://sources.debian.org/src/node-d3-time/1.0.11-3/debian/patches/remove-unsupported-syntax.patch/</span></div><div><span style="white-space: pre-wrap;"><br></span></div><div><span style="white-space: pre-wrap;">and https://sources.debian.org/src/node-d3-time/1.0.11-3/debian/rules/#L12</span></div><div><br><blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;"></div></blockquote></div><div><span style="white-space: pre-wrap;">Using webpack is also fine, but if you can get rollup to work that is preferred. The actual requirement is, the generated files should have corresponding source. There are many cases where we already use different tools from 
 what upstream uses for various resons.</span></div></div>