Skip to content

Commit

Permalink
Pre-publish transpile pipeline with Babel (#9)
Browse files Browse the repository at this point in the history
* Add babel build process

* Move index.js into src folder

* Update entrypoint to use built version in dist

* Tell npm not to upload src folder

* Add pre-publish hook

* 0.4.0
  • Loading branch information
liangyuanruo authored Mar 30, 2020
1 parent 690f909 commit e1555ba
Show file tree
Hide file tree
Showing 7 changed files with 3,388 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
["@babel/preset-env", {
"targets": {
"browsers": ["defaults", "IE 11"]
}
}]
]
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src
Loading

0 comments on commit e1555ba

Please sign in to comment.