Add proper polyfill for IE11

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-06-21 14:55:28 +02:00
parent 93725e481d
commit 63ac985f15
3 changed files with 25 additions and 8 deletions

View File

@@ -2,12 +2,14 @@ const path = require('path');
const webpack = require('webpack');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
require('babel-polyfill');
module.exports = {
node: {
fs: 'empty',
},
entry: {
deck: './init.js',
deck: ['babel-polyfill', './init.js'],
},
output: {
filename: '[name].js',