Skip to content

Commit 62194bb

Browse files
committedJul 22, 2020
chore: modify library build
1 parent 520dc49 commit 62194bb

File tree

6 files changed

+1708
-9504
lines changed

6 files changed

+1708
-9504
lines changed
 

‎.babelrc

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/env",
5+
{
6+
"shippedProposals": true,
7+
"modules": false,
8+
"targets": {
9+
"ie": 11
10+
}
11+
}
12+
],
13+
"@babel/react"
14+
],
15+
"plugins": ["@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-namespace-from", "@babel/plugin-transform-runtime", "@babel/plugin-proposal-object-rest-spread"],
16+
"env": {
17+
"esm-dir": {
18+
"presets": [
19+
[
20+
"@babel/env",
21+
{
22+
"loose": true,
23+
"shippedProposals": true,
24+
"modules": false,
25+
"targets": {
26+
"ie": 11
27+
}
28+
}
29+
],
30+
"@babel/react"
31+
],
32+
"plugins": [["@babel/plugin-transform-runtime", { "useESModules": true }]]
33+
}
34+
}
35+
}

‎.travis.yml

-16
This file was deleted.

‎nwb.config.js

-17
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.