Skip to content

Commit

Permalink
bundle with rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
renatorib committed Dec 2, 2017
1 parent 3fabe5d commit 5b5be51
Show file tree
Hide file tree
Showing 15 changed files with 2,105 additions and 61 deletions.
14 changes: 12 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"presets": ["es2015", "react", "stage-2"],
"plugins": ["transform-export-extensions"]
"env": {
"es": {
"presets": ["es2015", "react", "stage-1"]
},
"commonjs": {
"presets": ["es2015", "react", "stage-1"]
},
"rollup": {
"presets": [["es2015", { "modules": false }], "react", "stage-1"],
"plugins": ["external-helpers"]
}
}
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
es
lib
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
node_modules
src
.storybook
.editorconfig
.eslintrc
.eslintignore
.prettierrc
logo.png
rollup.config.js
Loading

0 comments on commit 5b5be51

Please sign in to comment.