Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #310 from redbadger/feature/ie11-dev-rendering
Browse files Browse the repository at this point in the history
add babel polyfill to webpack dev configurations
  • Loading branch information
asavin authored Jan 6, 2017
2 parents 4511bc7 + 09ea37b commit b3bd30e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions webpack.dev.browser.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

const devAppConfig = webpackMerge(baseConfig, {
entry: {
'/dev-app': './dev/browser-app/index.js',
},
entry: ['babel-polyfill', './dev/browser-app/index.js'],
target: 'web',
plugins: [
new HtmlWebpackPlugin({
Expand Down
4 changes: 1 addition & 3 deletions webpack.dev.static.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ const AssetsPlugin = require('assets-webpack-plugin');
process.env.BABEL_ENV = 'typecheck';

const devStaticConfig = webpackMerge(baseConfig, {
entry: {
'dev-static': './dev/static/index.js',
},
entry: ['babel-polyfill', './dev/static/index.js'],
output: {
libraryTarget: 'commonjs',
},
Expand Down

0 comments on commit b3bd30e

Please sign in to comment.