Modifies webpack config in ReactReduxSpa template to enable treeshaking #1007

Closed
opened 2025-08-09 17:18:31 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @markthiessen on 2/16/2017

One of the big features in Webpack 2 is tree shaking. Modified config to enable this in client bundle output.
Debated adding logic to common config as server bundle still needs module transform, but in the end decided it was probably clearer for developers to just pull out module rules from common and have client and server config define separately.

*Originally created by @markthiessen on 2/16/2017* One of the big features in Webpack 2 is tree shaking. Modified config to enable this in client bundle output. Debated adding logic to common config as server bundle still needs module transform, but in the end decided it was probably clearer for developers to just pull out module rules from common and have client and server config define separately.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1007
No description provided.