Iterated on Webpack configs until I got the inline and shell packages seemingly working

This commit is contained in:
Brian Vaughn
2019-08-14 09:24:35 -07:00
parent 7e94fae1e9
commit efa6aa9b4d
22 changed files with 4320 additions and 216 deletions
@@ -97,8 +97,8 @@ export default function DevTools({
const viewElementSource = useMemo(
() => ({
canViewElementSourceFunction,
viewElementSourceFunction,
canViewElementSourceFunction: canViewElementSourceFunction || null,
viewElementSourceFunction: viewElementSourceFunction || null,
}),
[canViewElementSourceFunction, viewElementSourceFunction],
);
@@ -51,7 +51,7 @@ export default class ErrorBoundary extends Component<Props, State> {
let bugURL = process.env.GITHUB_URL;
if (bugURL) {
const title = `Error: "${errorMessage || ''}"`;
const label = '😭 bug';
const label = 'Component: Developer Tools';
let body = '<!-- please provide repro information here -->\n';
body += '\n---------------------------------------------';
@@ -30,7 +30,8 @@ export default function SidebarSelectedFiberInfo(_: Props) {
});
const listItems = [];
for (let i = 0; i < commitIndices.length; i++) {
let i = 0;
for (i = 0; i < commitIndices.length; i++) {
const commitIndex = commitIndices[i];
const {duration, timestamp} = profilerStore.getCommitData(