Skip to content

Commit

Permalink
feat: umd compatibility with babel 7.x (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
Valerio Coltrè authored and JustinBeckwith committed Nov 23, 2018
1 parent bd63928 commit f1b336c
Show file tree
Hide file tree
Showing 4 changed files with 3,946 additions and 1,196 deletions.
19 changes: 19 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"modules": false
}
]
],
"plugins": [
["transform-es2015-modules-umd", {
"globals": {
"axios": "axios"
}
}]
],
"moduleId": "rax"
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
build/
umd/
coverage/
.nyc_output/
.vscode/
Loading

0 comments on commit f1b336c

Please sign in to comment.