Hi,
The default cheminfo-build uses --format umd. Is it possible to change it to --format iife ?
As it uses roleup.js module, it has these options.
For browsers:
# compile to a <script> containing a self-executing function ('iife')
rollup main.js --file bundle.js --format iife
For Node.js:
# compile to a CommonJS module ('cjs')
rollup main.js --file bundle.js --format cjs
For both browsers and Node.js:
# UMD format requires a bundle name
rollup main.js --file bundle.js --format umd --name "myBundle"
Hi, The default
cheminfo-build
uses--format umd
. Is it possible to change it to--format iife
?As it uses roleup.js module, it has these options.
Thanks Arijit