Skip to content

Commit

Permalink
Merge pull request #446 from ConsenSys/development
Browse files Browse the repository at this point in the history
Export ES6 modules
  • Loading branch information
gesquinca authored Mar 26, 2020
2 parents 52ac429 + db5f94f commit 75b6b3a
Show file tree
Hide file tree
Showing 7 changed files with 629 additions and 19 deletions.
7 changes: 4 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"presets": [
["@babel/preset-react", {"modules": false}],
["@babel/preset-env", {"modules": false}]
["@babel/preset-react", { "modules": false }],
["@babel/preset-env", { "modules": false }]
],
"plugins": [
["babel-plugin-styled-components", { "pure": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }]
["@babel/plugin-proposal-class-properties", { "loose": true }],
"inline-react-svg"
]
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ class Example extends Component {

## Change log

### 0.14.0

🚀 New Feature

- Export ES6 modules for tree shaking 🌳

### 0.13.1

🐛 Bug Fix
Expand Down
4 changes: 3 additions & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"react": "link:../node_modules/react",
"react-dom": "link:../node_modules/react-dom",
"react-scripts": "3.1.2",
"rimble-ui": "link:.."
"rimble-ui": "link:..",
"source-map-explorer": "^2.1.2"
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand Down
Loading

0 comments on commit 75b6b3a

Please sign in to comment.