build: Fix reflection and minification conflict (#399)

The minification change the class name so constructor.name not give back the correct class name.
Introduced getName() method in KeyAction and MacroAction Abstract class
This commit is contained in:
Róbert Kiss
2017-08-27 02:38:55 +02:00
committed by László Monda
parent be3e116130
commit ee93466a08
16 changed files with 70 additions and 6 deletions

View File

@@ -384,7 +384,14 @@ module.exports = {
"inject": true,
"compile": true,
"favicon": false,
"minify": false,
"minify": !AOT_BUILD ? false : {
removeAttributeQuotes: true,
collapseWhitespace: true,
html5: true,
minifyCSS: true,
removeComments: true,
removeEmptyAttributes: true,
},
"cache": true,
"showErrors": true,
"chunks": "all",