mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
updates build options to support uglify2
This commit is contained in:
parent
01f30b92e7
commit
1a4b16c467
@ -29,11 +29,14 @@ module.exports = function(defaults) {
|
||||
js: ['dropdown', 'collapse', 'tab']
|
||||
},
|
||||
|
||||
minifyJS: {
|
||||
'ember-cli-uglify': {
|
||||
enabled: EmberApp.env() === 'production',
|
||||
options: {
|
||||
exclude: ['**/vendor.js', 'legacy-app/**']
|
||||
}
|
||||
uglify: {
|
||||
compress: {
|
||||
sequences: 20
|
||||
}
|
||||
},
|
||||
exclude: ['**/vendor.js', 'legacy-app/**']
|
||||
},
|
||||
|
||||
outputPaths: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user