1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

JS build tweaks

This commit is contained in:
McMatts 2022-03-03 18:21:16 -05:00
parent 6968581e5b
commit 4ed2b3902c
7 changed files with 13 additions and 53 deletions

View file

@ -13,7 +13,7 @@ module.exports = function(defaults) {
fingerprintAssetMap: false,
prepend: '/',
extensions: ['js', 'css'],
exclude: ['tinymce/**', 'codemirror/**', 'prism/**', 'pdfjs/**']
exclude: ['tinymce/**', 'codemirror/**', 'prism/**', 'pdfjs/**', 'i18n/**']
},
minifyCSS: {
@ -40,11 +40,9 @@ module.exports = function(defaults) {
'ember-cli-terser': {
enabled: !isDevelopment,
exclude: ['tinymce/**', 'codemirror/**', 'prism/**', 'pdfjs/**'],
hiddenSourceMap: true,
terser: {
},
hiddenSourceMap: true,
// minifyJS: {
// enabled: !isDevelopment,