Commit 7a428f4d authored by JC Brand's avatar JC Brand

Configure path for almond.js

parent d5071847
...@@ -14,6 +14,7 @@ if (typeof(require) === 'undefined') { ...@@ -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",
......
({ ({
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: [
......
({ ({
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: [
......
({ ({
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'],
......
({ ({
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'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment