Open k88hudson opened 8 years ago
The web shims in lib/platform and lib/platform-placeholder should only be included in the bundle if DEVELOPMENT is true in our configuration object
lib/platform
lib/platform-placeholder
DEVELOPMENT
This should be as simple as
if (__CONFIG__.DEVELOPMENT) { require(lib/platform-placeholder) ... }
And webpack's production optimization process will remove the unused code.
The web shims in
lib/platform
andlib/platform-placeholder
should only be included in the bundle ifDEVELOPMENT
is true in our configuration objectThis should be as simple as
And webpack's production optimization process will remove the unused code.