[Pkg-javascript-devel] build node-i18next with webpack instead or rollup?

Nicolas Mora nicolas at babelouest.org
Sun Oct 6 19:40:06 BST 2019


Hello,

Le 19-10-06 à 09 h 21, Pirate Praveen a écrit :
> 
> 
> You can just patch out rollup-plugin-terser usage and use
> uglifyjs.terser command line.
> 
Thanks for the tip, I'm trying to use rollup to build the package but so
far no luck: I removed rollup-plugin-terser from the rollup.config.js,
and renamed the babel modules from "@babel/" to their equivalent Debian
packages "babel-plugin-" or "babel-preset-*" but I got stuck with the
error message "It looks like your Babel configuration specifies a module
transformer. Please disable it.", and I couldn't find out how to fix it
yet...

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

I'd rather not to use webpack too, to be as close as possible as
upstream build.

Thanks for the help

/Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2460 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20191006/42141160/attachment.key>


More information about the Pkg-javascript-devel mailing list