mirror of
https://github.com/documize/community.git
synced 2025-08-09 23:45:28 +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 EmberApp = require('ember-cli/lib/broccoli/ember-app');
|
||||||
var isDevelopment = EmberApp.env() === 'development';
|
var isDevelopment = EmberApp.env() === 'development';
|
||||||
|
|
||||||
|
@ -9,16 +10,21 @@ module.exports = function(defaults) {
|
||||||
fingerprint: {
|
fingerprint: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
extensions: ['js', 'css'],
|
extensions: ['js', 'css'],
|
||||||
exclude: ['tinymce', 'codemirror']
|
exclude: ['tinymce/**', 'codemirror/**']
|
||||||
},
|
},
|
||||||
|
|
||||||
minifyJS: {
|
minifyJS: {
|
||||||
enabled: !isDevelopment,
|
enabled: !isDevelopment,
|
||||||
exclude: ['tinymce', 'codemirror']
|
options: {
|
||||||
|
exclude: ['tinymce/**', 'codemirror/**']
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
minifyCSS: {
|
minifyCSS: {
|
||||||
enabled: !isDevelopment
|
enabled: !isDevelopment,
|
||||||
|
options: {
|
||||||
|
exclude: ['tinymce/**', 'codemirror/**']
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
sourcemaps: {
|
sourcemaps: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue