Closed maciej-laskowski closed 6 years ago
I excluded babel helpers in transpiling options, otherwise you would have babel helpers replicated in each .min.js file.
It should be included manually if you use dists, however, it is recommended to have own build process if you want to support old browsers. BunnyJS works as it is in any modern browser and you don't need babel for that.
You can use already compiled babel helpers and they must be included before BunnyJS https://github.com/Mevrael/bunny/blob/master/dist/babel-helpers.min.js
I'll have a look at your suggested build system. Thank you for your explanation :)
Hi,
I get an error in console when I run example on https://bunnyjs.com/examples/form-validation/ (just clicking submit on an empty form in enough).
Firefox 63.0:
ReferenceError: babelHelpers is not defined element.min.js:1:1368
Chrome 69.0.3497.100