We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c533b6 commit 367e6f6Copy full SHA for 367e6f6
packages/app/config/webpack.common.js
@@ -18,7 +18,7 @@ const SANDBOX_ONLY = !!process.env.SANDBOX_ONLY;
18
const __DEV__ = NODE_ENV === 'development'; // eslint-disable-line no-underscore-dangle
19
const __PROD__ = NODE_ENV === 'production'; // eslint-disable-line no-underscore-dangle
20
// const __TEST__ = NODE_ENV === 'test'; // eslint-disable-line no-underscore-dangle
21
-const babelConfig = __DEV__ ? babelDev : babelProd;
+const babelConfig = __DEV__ && !SANDBOX_ONLY ? babelDev : babelProd;
22
23
const publicPath = SANDBOX_ONLY || __DEV__ ? '/' : getHost.default() + '/';
24
0 commit comments