1
0
mirror of https://github.com/mgerb/react-starter synced 2026-01-08 08:02:49 +00:00

move polyfill

This commit is contained in:
2018-11-08 20:05:56 -06:00
parent 7adb4c75d4
commit 4ab481ecd3
2 changed files with 1 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
import '@babel/polyfill';
import React from 'react';
import ReactDOM from 'react-dom';
import { Routes } from './routes';

View File

@@ -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'),