You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
Thanks
Arijit
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: