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({
baseUrl: '.',
paths: {
"almond": "node_modules/almond/almond",
"backbone": "node_modules/backbone/backbone",
"backbone.browserStorage": "node_modules/backbone.browserStorage/backbone.browserStorage",
"backbone.overview": "node_modules/backbone.overview/backbone.overview",

View File

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

View File

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

View File

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

View File

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