From 4ab481ecd3bbe813dce6fd31edef998d3e0fb872 Mon Sep 17 00:00:00 2001 From: Mitchell Date: Thu, 8 Nov 2018 20:05:56 -0600 Subject: [PATCH] move polyfill --- app/app.tsx | 1 - webpack.config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/app.tsx b/app/app.tsx index d14d979..884e4da 100644 --- a/app/app.tsx +++ b/app/app.tsx @@ -1,4 +1,3 @@ -import '@babel/polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Routes } from './routes'; diff --git a/webpack.config.js b/webpack.config.js index 2079692..57ffd8e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,7 +7,7 @@ const webpack = require('webpack'); module.exports = { entry: { - app: ['./app/app.tsx'], + app: ['@babel/polyfill', './app/app.tsx'], }, output: { path: path.resolve(__dirname, './dist'),