From 37f8caf7142845fed73880edafb3757f59226245 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Wed, 17 Jul 2019 06:26:03 -0700 Subject: [PATCH] Replace commonjs import Summary: Feels out of place. More drive-by stuff. I'll set up a linter for this later. Reviewed By: bnelo12 Differential Revision: D16332869 fbshipit-source-id: 0fb94eabbeeca039f8704df288e26babf34a7e34 --- src/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.js b/src/init.js index 122eeba6b..62c0ec3c7 100644 --- a/src/init.js +++ b/src/init.js @@ -22,7 +22,7 @@ import config from './utils/processConfig.js'; import {stateSanitizer} from './utils/reduxDevToolsConfig.js'; import {initLauncherHooks} from './utils/launcher.js'; import initCrashReporter from './utils/electronCrashReporter'; -const path = require('path'); +import path from 'path'; const store = createStore( reducers,