-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dist contains const
#11
Comments
Hi @janvanhelvoort, thanks for pointing this out ! This is related to a rollup-typescript issue : rollup/rollup-plugin-typescript#86 Just fixed that in the dev branch, could you check it out by running Thanks ! PS: By the way the dist/bundle/wretch.js file is already minified ! Did you consider using the dist/index.js file as an es2015 entry point instead ? |
yes, it works with the dev branch. Do you have a link or example about es2015 entry point? |
Great, thanks for letting me know 👍 ! Regarding the entry point it really depends on your build system. If you are using webpack for instance you can tweak it by using the "module" field as explained in the doc. Also, rollup has a nice wiki page about it and the benefits of es2015 modules. |
Hi,
When building our source with gulp and we use 'gulp-uglify' the following error occurs:
line
26603
:!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):t.wretch=r()}(this,function(){"use strict";const t=Objec
....Thank you!
Jan
The text was updated successfully, but these errors were encountered: