Skip to content

Commit

Permalink
chore: modify library build
Browse files Browse the repository at this point in the history
  • Loading branch information
woothu committed Jul 22, 2020
1 parent 520dc49 commit 62194bb
Show file tree
Hide file tree
Showing 6 changed files with 1,708 additions and 9,504 deletions.
35 changes: 35 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"presets": [
[
"@babel/env",
{
"shippedProposals": true,
"modules": false,
"targets": {
"ie": 11
}
}
],
"@babel/react"
],
"plugins": ["@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-transform-runtime", "@babel/plugin-proposal-object-rest-spread"],
"env": {
"esm-dir": {
"presets": [
[
"@babel/env",
{
"loose": true,
"shippedProposals": true,
"modules": false,
"targets": {
"ie": 11
}
}
],
"@babel/react"
],
"plugins": [["@babel/plugin-transform-runtime", { "useESModules": true }]]
}
}
}
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

17 changes: 0 additions & 17 deletions nwb.config.js

This file was deleted.

0 comments on commit 62194bb

Please sign in to comment.