Fix almond builds. updates #779
This commit is contained in:
parent
61568aca32
commit
148516e0cc
1708
3rdparty/bigint.js
vendored
Normal file
1708
3rdparty/bigint.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -67,7 +67,8 @@ require.config({
|
||||
"converse-vcard": "src/converse-vcard",
|
||||
|
||||
// Off-the-record-encryption
|
||||
"bigint": "node_modules/otr/build/dep/bigint",
|
||||
// "bigint": "node_modules/otr/build/dep/bigint",
|
||||
"bigint": "3rdparty/bigint",
|
||||
"crypto": "node_modules/otr/build/dep/crypto",
|
||||
"salsa20": "node_modules/otr/build/dep/salsa20",
|
||||
"otr": "node_modules/otr/build/otr",
|
||||
|
@ -32,7 +32,7 @@
|
||||
"browser": "*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"almond": "~0.3.1",
|
||||
"almond": "~0.3.3",
|
||||
"awesomplete": "^1.1.1",
|
||||
"backbone": "1.3.3",
|
||||
"backbone.browserStorage": "0.0.3",
|
||||
|
@ -2,30 +2,31 @@
|
||||
baseUrl: "../",
|
||||
name: "almond",
|
||||
out: "../dist/converse-no-dependencies.min.js",
|
||||
include: ['converse'],
|
||||
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'
|
||||
"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',
|
||||
"awesomplete",
|
||||
"jquery",
|
||||
"jquery-private",
|
||||
"backbone.browserStorage",
|
||||
"backbone.overview",
|
||||
"moment_with_locales",
|
||||
@ -34,13 +35,12 @@
|
||||
"strophe.rsm",
|
||||
"strophe.vcard",
|
||||
"strophe.ping",
|
||||
"typeahead",
|
||||
"otr",
|
||||
"lodash"
|
||||
],
|
||||
wrap: {
|
||||
endFile: ["wrapper-no-jquery.js", "wrapper-no-deps.js"]
|
||||
},
|
||||
insertRequire: ['converse'],
|
||||
mainConfigFile: '../config.js'
|
||||
insertRequire: ["converse"],
|
||||
mainConfigFile: "../config.js"
|
||||
})
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
if (typeof define !== 'undefined') {
|
||||
/* When running tests, define is not defined. */
|
||||
define("converse", [
|
||||
define([
|
||||
"converse-core",
|
||||
// PLEASE NOTE: By default all translations are included.
|
||||
// You can modify the file src/locales.js to include only those
|
||||
|
Loading…
Reference in New Issue
Block a user