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",
|
"converse-vcard": "src/converse-vcard",
|
||||||
|
|
||||||
// Off-the-record-encryption
|
// 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",
|
"crypto": "node_modules/otr/build/dep/crypto",
|
||||||
"salsa20": "node_modules/otr/build/dep/salsa20",
|
"salsa20": "node_modules/otr/build/dep/salsa20",
|
||||||
"otr": "node_modules/otr/build/otr",
|
"otr": "node_modules/otr/build/otr",
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
"browser": "*"
|
"browser": "*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"almond": "~0.3.1",
|
"almond": "~0.3.3",
|
||||||
"awesomplete": "^1.1.1",
|
"awesomplete": "^1.1.1",
|
||||||
"backbone": "1.3.3",
|
"backbone": "1.3.3",
|
||||||
"backbone.browserStorage": "0.0.3",
|
"backbone.browserStorage": "0.0.3",
|
||||||
|
@ -2,30 +2,31 @@
|
|||||||
baseUrl: "../",
|
baseUrl: "../",
|
||||||
name: "almond",
|
name: "almond",
|
||||||
out: "../dist/converse-no-dependencies.min.js",
|
out: "../dist/converse-no-dependencies.min.js",
|
||||||
include: ['converse'],
|
include: ["converse"],
|
||||||
excludeShallow: [
|
excludeShallow: [
|
||||||
'locales',
|
"locales",
|
||||||
'text!af',
|
"text!af",
|
||||||
'text!de',
|
"text!de",
|
||||||
'text!en',
|
"text!en",
|
||||||
'text!es',
|
"text!es",
|
||||||
'text!fr',
|
"text!fr",
|
||||||
'text!he',
|
"text!he",
|
||||||
'text!hu',
|
"text!hu",
|
||||||
'text!id',
|
"text!id",
|
||||||
'text!it',
|
"text!it",
|
||||||
'text!ja',
|
"text!ja",
|
||||||
'text!nb',
|
"text!nb",
|
||||||
'text!nl',
|
"text!nl",
|
||||||
'text!pl',
|
"text!pl",
|
||||||
'text!pt_BR',
|
"text!pt_BR",
|
||||||
'text!ru',
|
"text!ru",
|
||||||
'text!uk',
|
"text!uk",
|
||||||
'text!zh'
|
"text!zh"
|
||||||
],
|
],
|
||||||
exclude: [
|
exclude: [
|
||||||
'jquery',
|
"awesomplete",
|
||||||
'jquery-private',
|
"jquery",
|
||||||
|
"jquery-private",
|
||||||
"backbone.browserStorage",
|
"backbone.browserStorage",
|
||||||
"backbone.overview",
|
"backbone.overview",
|
||||||
"moment_with_locales",
|
"moment_with_locales",
|
||||||
@ -34,13 +35,12 @@
|
|||||||
"strophe.rsm",
|
"strophe.rsm",
|
||||||
"strophe.vcard",
|
"strophe.vcard",
|
||||||
"strophe.ping",
|
"strophe.ping",
|
||||||
"typeahead",
|
|
||||||
"otr",
|
"otr",
|
||||||
"lodash"
|
"lodash"
|
||||||
],
|
],
|
||||||
wrap: {
|
wrap: {
|
||||||
endFile: ["wrapper-no-jquery.js", "wrapper-no-deps.js"]
|
endFile: ["wrapper-no-jquery.js", "wrapper-no-deps.js"]
|
||||||
},
|
},
|
||||||
insertRequire: ['converse'],
|
insertRequire: ["converse"],
|
||||||
mainConfigFile: '../config.js'
|
mainConfigFile: "../config.js"
|
||||||
})
|
})
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
if (typeof define !== 'undefined') {
|
if (typeof define !== 'undefined') {
|
||||||
/* When running tests, define is not defined. */
|
/* When running tests, define is not defined. */
|
||||||
define("converse", [
|
define([
|
||||||
"converse-core",
|
"converse-core",
|
||||||
// PLEASE NOTE: By default all translations are included.
|
// PLEASE NOTE: By default all translations are included.
|
||||||
// You can modify the file src/locales.js to include only those
|
// You can modify the file src/locales.js to include only those
|
||||||
|
Loading…
Reference in New Issue
Block a user