Skip to content

Commit

Permalink
Open source the visualizer
Browse files Browse the repository at this point in the history
Reviewed By: rafeca

Differential Revision: D9418796

fbshipit-source-id: 4589ee71356b181b63d175bdad5eff0268100f3d
  • Loading branch information
Simon Posada Fishman authored and facebook-github-bot committed Aug 24, 2018
1 parent 56f2c26 commit 8bc5c03
Show file tree
Hide file tree
Showing 31 changed files with 4,735 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"transform-es2015-parameters",
"transform-es2015-spread",
"transform-flow-strip-types",
"transform-object-rest-spread"
"transform-object-rest-spread",
"transform-react-jsx"
],
"retainLines": true
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-es2015-node": "^6.1.1",
"babel-preset-fbjs": "2.2.0",
"chalk": "^1.1.3",
Expand Down
13 changes: 13 additions & 0 deletions packages/metro-visualizer/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>Metro Bundle Visualizer</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/antd/3.7.1/antd.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/style.css">
</head>
<body>
<div id="root"></div>
<script src="/visualizer/bundle.js"></script>
</body>
</html>
Loading

0 comments on commit 8bc5c03

Please sign in to comment.