Figured out how to exclude the locales from the no deps build
This commit is contained in:
parent
450c6c7d38
commit
d00f2d1c3d
|
@ -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',
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user