diff --git a/config/webpack.prod.js b/config/webpack.prod.js index 25689668..ec0e88a4 100644 --- a/config/webpack.prod.js +++ b/config/webpack.prod.js @@ -140,27 +140,27 @@ module.exports = webpackMerge(commonConfig, { * See: https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin */ // NOTE: To debug prod builds uncomment //debug lines and comment //prod lines - // new UglifyJsPlugin({ - // // beautify: true, //debug - // // mangle: false, //debug - // // dead_code: false, //debug - // // unused: false, //debug - // // deadCode: false, //debug - // // compress: { - // // screw_ie8: true, - // // keep_fnames: true, - // // drop_debugger: false, - // // dead_code: false, - // // unused: false - // // }, // debug - // // comments: true, //debug - // - // - // beautify: false, //prod - // mangle: { screw_ie8 : true }, //prod - // compress: { screw_ie8: true }, //prod - // comments: false //prod - // }), + new UglifyJsPlugin({ + // beautify: true, //debug + // mangle: false, //debug + // dead_code: false, //debug + // unused: false, //debug + // deadCode: false, //debug + // compress: { + // screw_ie8: true, + // keep_fnames: true, + // drop_debugger: false, + // dead_code: false, + // unused: false + // }, // debug + // comments: true, //debug + + + beautify: false, //prod + mangle: { screw_ie8 : true }, //prod + compress: { screw_ie8: true }, //prod + comments: false //prod + }), /** * Plugin: NormalModuleReplacementPlugin diff --git a/src/components/angular2-modal/plugins/bootstrap/bootstrap.module.ts b/src/components/angular2-modal/plugins/bootstrap/bootstrap.module.ts index 8aa733d8..eb87bd15 100644 --- a/src/components/angular2-modal/plugins/bootstrap/bootstrap.module.ts +++ b/src/components/angular2-modal/plugins/bootstrap/bootstrap.module.ts @@ -33,10 +33,10 @@ function getProviders(): any[] { @NgModule({ imports: [ CommonModule ], declarations: [ - BSModalBackdrop, + BSModalFooter, BSMessageModal, - BSModalContainer, - BSModalFooter + BSModalBackdrop, + BSModalContainer ], providers: getProviders(), entryComponents: [ diff --git a/src/components/angular2-modal/plugins/vex/vex.module.ts b/src/components/angular2-modal/plugins/vex/vex.module.ts index e980dd64..01bf9009 100644 --- a/src/components/angular2-modal/plugins/vex/vex.module.ts +++ b/src/components/angular2-modal/plugins/vex/vex.module.ts @@ -32,11 +32,11 @@ function getProviders(): any[] { @NgModule({ imports: [ CommonModule ], declarations: [ - VexModalBackdrop, - VexModalContent, - DialogFormModal, + VEXDialogButtons, FormDropIn, - VEXDialogButtons + DialogFormModal, + VexModalBackdrop, + VexModalContent ], providers: getProviders(), entryComponents: [