mirror of
https://github.com/mgerb/react-starter
synced 2026-01-08 08:02:49 +00:00
move polyfill
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import '@babel/polyfill';
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { Routes } from './routes';
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user