Skip to content

Commit 8abe688

Browse files
committed
fix(webpack.config.dev): ship polyfills in dev mode as well.
1 parent 6c9f1e6 commit 8abe688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/webpack.config.dev.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ module.exports = {
4646
// This means they will be the "root" imports that are included in JS bundle.
4747
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
4848
entry: [
49+
// We ship a few polyfills by default:
50+
require.resolve('./polyfills'),
4951
// Include an alternative client for WebpackDevServer. A client's job is to
5052
// connect to WebpackDevServer by a socket and get notified about changes.
5153
// When you save a file, the client will either apply hot updates (in case

0 commit comments

Comments
 (0)