diff --git a/config/webpack.config.js b/config/webpack.config.js index d06f7733945e78f2fd7278a152a7c0745de42e95..cbf59276dce46f1c4b40e46a1811bbd97e0b8d12 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -82,7 +82,10 @@ var config = { modules: false, assets: true }), + + // prevent pikaday from including moment.js new webpack.IgnorePlugin(/moment/, /pikaday/), + // use deterministic module ids in all environments IS_PRODUCTION ? new webpack.HashedModuleIdsPlugin() :