Skip to content

Commit 2c8bbdc

Browse files
Merge pull request #82 from d4rky-pl/reduce_bundle_size
Modernize the library
2 parents 29dd2dc + e2e9956 commit 2c8bbdc

File tree

13 files changed

+1578
-5900
lines changed

13 files changed

+1578
-5900
lines changed

.babelrc

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"presets": ["es2015", "stage-0", "react"],
2+
"presets": [
3+
["@babel/preset-env", { modules: false }],
4+
["@babel/preset-react"]
5+
],
36
"plugins": [
4-
"transform-flow-strip-types",
5-
"transform-object-rest-spread"
7+
"@babel/transform-flow-strip-types",
8+
"@babel/plugin-proposal-object-rest-spread"
69
]
710
}

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ examples
66
*.png
77
.npmignore
88
.gitignore
9+
/src
10+
/img
11+
/rollup.config.js
12+
/run.js
13+
/.idea

0 commit comments

Comments
 (0)