reymond-group / smilesDrawer

A small, highly performant JavaScript component for parsing and drawing SMILES strings. Released under the MIT license.
https://smilesdrawer.rocks
MIT License
434 stars 67 forks source link

Using non basic JS export #83

Open Qaaj opened 5 years ago

Qaaj commented 5 years ago

Hi,

You should think about not using default parameters in your app.js entrypoint for the NPM module. It throws of UglifyJS since it's not part of the JS spec right now and NPM assumes that packages do their own Babel/compiling. I will make a PR later on that fixes this hopefully. cheers