Skip to content

Commit

Permalink
Merge pull request #434 from ConsenSys/ml-treeshake-take2
Browse files Browse the repository at this point in the history
Add babel-only build step
  • Loading branch information
gesquinca authored Mar 26, 2020
2 parents 18a82c7 + 7941f74 commit ae4c958
Show file tree
Hide file tree
Showing 6 changed files with 622 additions and 18 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"
]
}
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 ae4c958

Please sign in to comment.