Commit 6034f23
authored
feat: Add support for ECMAScript modules (#69)
* Adds support for the new file-loader which emits ESMs by default
* Uses Babel to transpile the source code
* Update test to handle the new output from babel
* Update package-lock.json
BREAKING CHANGE: The extract-loader now uses Babel to transpile the bundle code for the current Node version. This is required in order to support the new file-loader which produces ECMAScript modules. This *should not* be a breaking change but since Babel is also known to be kind of brittle in regards of configuration we cannot guarantee that there might be unknown/unwanted side-effects in your project setup.1 parent b88d3ee commit 6034f23
File tree
4 files changed
+1210
-511
lines changed- src
- test
4 files changed
+1210
-511
lines changed
0 commit comments