After v0.7.1 (see #95), we broadened compatibility by transpiling browser bundles to an older JS feature set.
Unfortunately, this was insufficient, as Babel ignores any dependencies in Webpack's transpilation step if using a .babelrc file. By migrating to a babel.config.json file (see docs here, "You want to compile node_modules?") and adding the appropriate dependencies to the webpack config (note the delta on the exclude line), we can transpile these to the same feature set as the library itself.
cc @esteblock if you want to include this in your release, but it isn't required :+1:
After v0.7.1 (see #95), we broadened compatibility by transpiling browser bundles to an older JS feature set.
Unfortunately, this was insufficient, as Babel ignores any dependencies in Webpack's transpilation step if using a
.babelrc
file. By migrating to ababel.config.json
file (see docs here, "You want to compilenode_modules
?") and adding the appropriate dependencies to the webpack config (note the delta on theexclude
line), we can transpile these to the same feature set as the library itself.cc @esteblock if you want to include this in your release, but it isn't required :+1: