Configure path for almond.js

This commit is contained in:
JC Brand 2016-08-23 09:35:34 +00:00
parent d507184731
commit 7a428f4dc8
5 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ if (typeof(require) === 'undefined') {
require.config({ require.config({
baseUrl: '.', baseUrl: '.',
paths: { paths: {
"almond": "node_modules/almond/almond",
"backbone": "node_modules/backbone/backbone", "backbone": "node_modules/backbone/backbone",
"backbone.browserStorage": "node_modules/backbone.browserStorage/backbone.browserStorage", "backbone.browserStorage": "node_modules/backbone.browserStorage/backbone.browserStorage",
"backbone.overview": "node_modules/backbone.overview/backbone.overview", "backbone.overview": "node_modules/backbone.overview/backbone.overview",

View File

@ -1,6 +1,6 @@
({ ({
baseUrl: "../", baseUrl: "../",
name: "node_modules/almond/almond.js", name: "almond",
out: "../dist/converse-mobile.min.js", out: "../dist/converse-mobile.min.js",
mainConfigFile: '../config.js', mainConfigFile: '../config.js',
excludeShallow: [ excludeShallow: [

View File

@ -1,6 +1,6 @@
({ ({
baseUrl: "../", baseUrl: "../",
name: "node_modules/almond/almond.js", name: "almond",
out: "../dist/converse-no-dependencies.min.js", out: "../dist/converse-no-dependencies.min.js",
include: ['converse'], include: ['converse'],
excludeShallow: [ excludeShallow: [

View File

@ -1,6 +1,6 @@
({ ({
baseUrl: "../", baseUrl: "../",
name: "node_modules/almond/almond.js", name: "almond",
out: "../dist/converse.nojquery.min.js", out: "../dist/converse.nojquery.min.js",
include: ['converse'], include: ['converse'],
exclude: ['jquery', 'jquery-private'], exclude: ['jquery', 'jquery-private'],

View File

@ -1,6 +1,6 @@
({ ({
baseUrl: "../", baseUrl: "../",
name: "node_modules/almond/almond.js", name: "almond",
out: "../dist/converse.min.js", out: "../dist/converse.min.js",
mainConfigFile: '../config.js', mainConfigFile: '../config.js',
include: ['converse'], include: ['converse'],