Minification fix #1693 (#1782)

This commit is contained in:
Eugenio Romano 2017-03-28 20:47:57 +01:00 committed by Denys Vuika
parent 4c62409e8c
commit 3a300c20d4
2 changed files with 12 additions and 10 deletions

View File

@ -120,7 +120,6 @@ export class ActivitiDemoComponent implements AfterViewInit {
); );
this.dataProcesses.setSorting(new DataSorting('started', 'desc')); this.dataProcesses.setSorting(new DataSorting('started', 'desc'));
// Uncomment this line to replace all 'text' field editors with custom component // Uncomment this line to replace all 'text' field editors with custom component
// formRenderingService.setComponentTypeResolver('text', () => CustomEditorComponent, true); // formRenderingService.setComponentTypeResolver('text', () => CustomEditorComponent, true);

View File

@ -40,15 +40,18 @@ module.exports = webpackMerge(commonConfig, {
// Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin // Reference: http://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
// Minify all javascript, switch loaders to minimizing mode // Minify all javascript, switch loaders to minimizing mode
// new webpack.optimize.UglifyJsPlugin({ new webpack.optimize.UglifyJsPlugin({
// mangle: { output:{
// keep_fnames: true comments: false
// }, },
// compressor: { mangle: {
// screw_ie8: true, keep_fnames: true
// warnings: false },
// } compressor: {
// }), screw_ie8: true,
warnings: false
}
}),
// Extract css files // Extract css files
// Reference: https://github.com/webpack/extract-text-webpack-plugin // Reference: https://github.com/webpack/extract-text-webpack-plugin