Figured out how to exclude the locales from the no deps build

This commit is contained in:
JC Brand 2016-02-28 00:53:44 +00:00
parent 450c6c7d38
commit d00f2d1c3d
2 changed files with 21 additions and 0 deletions

View File

@ -3,6 +3,26 @@
name: "components/almond/almond.js",
out: "../builds/converse-no-dependencies.min.js",
include: ['converse'],
excludeShallow: [
'locales',
'text!af',
'text!de',
'text!en',
'text!es',
'text!fr',
'text!he',
'text!hu',
'text!id',
'text!it',
'text!ja',
'text!nb',
'text!nl',
'text!pl',
'text!pt_BR',
'text!ru',
'text!uk',
'text!zh'
],
exclude: [
'jquery',
'jquery-private',

View File

@ -30,3 +30,4 @@ define('backbone', [], emptyFunction);
define('backbone.browserStorage', ['backbone'], emptyFunction);
define('backbone.overview', ['backbone'], emptyFunction);
define('otr', [], function () { return { 'DSA': DSA, 'OTR': OTR };});
define("locales", [], emptyFunction);