mirror of
https://github.com/mgerb/react-starter
synced 2026-01-09 08:32:48 +00:00
move polyfill
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import '@babel/polyfill';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import ReactDOM from 'react-dom';
|
import ReactDOM from 'react-dom';
|
||||||
import { Routes } from './routes';
|
import { Routes } from './routes';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ const webpack = require('webpack');
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
app: ['./app/app.tsx'],
|
app: ['@babel/polyfill', './app/app.tsx'],
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, './dist'),
|
path: path.resolve(__dirname, './dist'),
|
||||||
|
|||||||
Reference in New Issue
Block a user