mirror of
https://github.com/documize/community.git
synced 2025-08-07 06:25:23 +02:00
ember build excludes
This commit is contained in:
parent
81f4f214e6
commit
b168a3e724
1 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
|||
/* global require, module */
|
||||
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||
var isDevelopment = EmberApp.env() === 'development';
|
||||
|
||||
|
@ -9,16 +10,21 @@ module.exports = function(defaults) {
|
|||
fingerprint: {
|
||||
enabled: true,
|
||||
extensions: ['js', 'css'],
|
||||
exclude: ['tinymce', 'codemirror']
|
||||
exclude: ['tinymce/**', 'codemirror/**']
|
||||
},
|
||||
|
||||
minifyJS: {
|
||||
enabled: !isDevelopment,
|
||||
exclude: ['tinymce', 'codemirror']
|
||||
options: {
|
||||
exclude: ['tinymce/**', 'codemirror/**']
|
||||
}
|
||||
},
|
||||
|
||||
minifyCSS: {
|
||||
enabled: !isDevelopment
|
||||
enabled: !isDevelopment,
|
||||
options: {
|
||||
exclude: ['tinymce/**', 'codemirror/**']
|
||||
}
|
||||
},
|
||||
|
||||
sourcemaps: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue