Commit 6dc9e8ed authored by JC Brand's avatar JC Brand

Use webpack for module bundling

parent d920c2a8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"presets": [ "presets": [
["@babel/preset-env", { ["@babel/preset-env", {
"targets": { "targets": {
"browsers": ["last 2 versions", "safari >= 10", "IE >= 11"] "browsers": ["last 2 versions", "safari >= 10", "IE >= 11"]
} }
}] }]
] ]
......
...@@ -15,6 +15,7 @@ OXIPNG ?= oxipng ...@@ -15,6 +15,7 @@ OXIPNG ?= oxipng
PAPER = PAPER =
PO2JSON ?= ./node_modules/.bin/po2json PO2JSON ?= ./node_modules/.bin/po2json
RJS ?= ./node_modules/.bin/r.js RJS ?= ./node_modules/.bin/r.js
WEBPACK ?= ./node_modules/.bin/npx
SASS ?= ./.bundle/bin/sass SASS ?= ./.bundle/bin/sass
SED ?= sed SED ?= sed
SPHINXBUILD ?= ./bin/sphinx-build SPHINXBUILD ?= ./bin/sphinx-build
...@@ -155,7 +156,7 @@ watch: dev ...@@ -155,7 +156,7 @@ watch: dev
.PHONY: watchjs .PHONY: watchjs
watchjs: dev watchjs: dev
$(BABEL) --source-maps --watch=./src --out-dir=./builds ./node_modules/.bin/npx webpack --mode=development --watch
transpile: dev src transpile: dev src
$(BABEL) --source-maps --out-dir=./builds ./src $(BABEL) --source-maps --out-dir=./builds ./src
......
This diff is collapsed.
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<!-- *********************************************************************** --> <!-- *********************************************************************** -->
<![if gte IE 11]> <![if gte IE 11]>
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/converse.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
<script src="https://cdn.conversejs.org/dist/converse.min.js"></script> <script src="dist/converse.js"></script>
<![endif]> <![endif]>
</head> </head>
......
This diff is collapsed.
...@@ -29,11 +29,11 @@ ...@@ -29,11 +29,11 @@
"browser": "*" "browser": "*"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.0.0-beta.35", "@babel/cli": "^7.0.0-beta.48",
"@babel/core": "^7.0.0-beta.35", "@babel/core": "^7.0.0-beta.48",
"@babel/preset-env": "^7.0.0-beta.35", "@babel/preset-env": "^7.0.0-beta.48",
"almond": "~0.3.3",
"awesomplete-avoid-xss": "^1.1.2", "awesomplete-avoid-xss": "^1.1.2",
"babel-loader": "^8.0.0-beta.3",
"backbone": "1.3.3", "backbone": "1.3.3",
"backbone.browserStorage": "0.0.3", "backbone.browserStorage": "0.0.3",
"backbone.nativeview": "^0.3.3", "backbone.nativeview": "^0.3.3",
...@@ -57,28 +57,25 @@ ...@@ -57,28 +57,25 @@
"jsdoc": "^3.5.5", "jsdoc": "^3.5.5",
"jshint": "^2.9.4", "jshint": "^2.9.4",
"lodash": "4.17.4", "lodash": "4.17.4",
"lodash-template-loader": "^2.0.0", "lodash-template-webpack-loader": "jcbrand/lodash-template-webpack-loader",
"moment": "~> 2.19.3 ", "moment": "~> 2.19.3 ",
"npm": "^5.7.1",
"otr": "0.2.16", "otr": "0.2.16",
"pluggable.js": "2.0.0", "pluggable.js": "2.0.0",
"po2json": "^0.4.4", "po2json": "^0.4.4",
"requirejs": "2.3.5",
"run-headless-chromium": "^0.1.1", "run-headless-chromium": "^0.1.1",
"sinon": "^2.1.0", "sinon": "^2.1.0",
"sizzle": "^2.3.3", "sizzle": "^2.3.3",
"snabbdom": "0.7.1", "snabbdom": "0.7.1",
"snyk": "^1.21.2",
"strophe.js": "1.2.14", "strophe.js": "1.2.14",
"strophejs-plugin-ping": "0.0.1", "strophejs-plugin-ping": "0.0.1",
"strophejs-plugin-register": "0.0.1", "strophejs-plugin-register": "0.0.1",
"strophejs-plugin-rsm": "0.0.1", "strophejs-plugin-rsm": "0.0.1",
"text": "requirejs/text#2.0.15",
"uglify-es": "^3.0.24", "uglify-es": "^3.0.24",
"urijs": "^1.19.1", "urijs": "^1.19.1",
"wait-until-promise": "^1.0.0", "wait-until-promise": "^1.0.0",
"webpack": "^4.0.1",
"webpack-cli": "^2.1.4",
"xss": "^0.3.3" "xss": "^0.3.3"
},
"dependencies": {
"npm": "^5.7.1"
} }
} }
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"converse-muc", "converse-muc",
"tpl!chatroom_bookmark_form", "templates/chatroom_bookmark_form.html",
"tpl!chatroom_bookmark_toggle", "templates/chatroom_bookmark_toggle.html",
"tpl!bookmark", "templates/bookmark.html",
"tpl!bookmarks_list" "templates/bookmarks_list.html"
], ],
factory); factory);
}(this, function ( }(this, function (
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"converse-core", "converse-core",
"emojione", "emojione",
"filesize", "filesize",
"tpl!chatboxes", "templates/chatboxes.html",
"backbone.overview", "backbone.overview",
"form-utils" "form-utils"
], factory); ], factory);
......
...@@ -5,26 +5,25 @@ ...@@ -5,26 +5,25 @@
// Licensed under the Mozilla Public License (MPLv2) // Licensed under the Mozilla Public License (MPLv2)
(function (root, factory) { (function (root, factory) {
define([ define(["converse-core",
"converse-core",
"bootstrap", "bootstrap",
"emojione", "emojione",
"xss", "xss",
"tpl!action", "templates/action.html",
"tpl!chatbox", "templates/chatbox.html",
"tpl!chatbox_head", "templates/chatbox_head.html",
"tpl!chatbox_message_form", "templates/chatbox_message_form.html",
"tpl!emojis", "templates/emojis.html",
"tpl!error_message", "templates/error_message.html",
"tpl!help_message", "templates/help_message.html",
"tpl!info", "templates/info.html",
"tpl!new_day", "templates/new_day.html",
"tpl!user_details_modal", "templates/user_details_modal.html",
"tpl!toolbar_fileupload", "templates/toolbar_fileupload.html",
"tpl!spinner", "templates/spinner.html",
"tpl!spoiler_button", "templates/spoiler_button.html",
"tpl!status_message", "templates/status_message.html",
"tpl!toolbar", "templates/toolbar.html",
"converse-modal", "converse-modal",
"converse-chatboxes", "converse-chatboxes",
"converse-message-view" "converse-message-view"
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
define(["converse-core", define(["converse-core",
"bootstrap", "bootstrap",
"lodash.fp", "lodash.fp",
"tpl!converse_brand_heading", "templates/converse_brand_heading.html",
"tpl!controlbox", "templates/controlbox.html",
"tpl!controlbox_toggle", "templates/controlbox_toggle.html",
"tpl!login_panel", "templates/login_panel.html",
"converse-chatview", "converse-chatview",
"converse-rosterview", "converse-rosterview",
"converse-profile" "converse-profile"
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"tpl!dragresize", "templates/dragresize.html",
"converse-chatview", "converse-chatview",
"converse-controlbox" "converse-controlbox"
], factory); ], factory);
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"tpl!inverse_brand_heading", "templates/inverse_brand_heading.html",
"converse-chatview", "converse-chatview",
"converse-controlbox", "converse-controlbox",
"converse-muc", "converse-muc",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
(function (root, factory) { (function (root, factory) {
define([ define([
"converse-core", "converse-core",
"tpl!chatbox", "templates/chatbox.html",
"converse-chatview", "converse-chatview",
], factory); ], factory);
}(this, function (converse, tpl_chatbox) { }(this, function (converse, tpl_chatbox) {
......
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
"xss", "xss",
"emojione", "emojione",
"filesize", "filesize",
"tpl!action", "templates/action.html",
"tpl!csn", "templates/csn.html",
"tpl!file_progress", "templates/file_progress.html",
"tpl!info", "templates/info.html",
"tpl!message", "templates/message.html",
"tpl!spoiler_message" "templates/spoiler_message.html"
], factory); ], factory);
}(this, function ( }(this, function (
converse, converse,
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"tpl!chatbox_minimize", "templates/chatbox_minimize.html",
"tpl!toggle_chats", "templates/toggle_chats.html",
"tpl!trimmed_chat", "templates/trimmed_chat.html",
"tpl!chats_panel", "templates/chats_panel.html",
"converse-chatview" "converse-chatview"
], factory); ], factory);
}(this, function ( }(this, function (
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
if (typeof define === 'function' && define.amd) { if (typeof define === 'function' && define.amd) {
define([ define([
"converse-core", "converse-core",
"tpl!alert_modal", "templates/alert_modal.html",
"bootstrap", "bootstrap",
"backbone.vdomview" "backbone.vdomview"
], factory); ], factory);
......
...@@ -8,26 +8,26 @@ ...@@ -8,26 +8,26 @@
define([ define([
"converse-core", "converse-core",
"muc-utils", "muc-utils",
"tpl!add_chatroom_modal", "templates/add_chatroom_modal.html",
"tpl!chatarea", "templates/chatarea.html",
"tpl!chatroom", "templates/chatroom.html",
"tpl!chatroom_disconnect", "templates/chatroom_disconnect.html",
"tpl!chatroom_features", "templates/chatroom_features.html",
"tpl!chatroom_form", "templates/chatroom_form.html",
"tpl!chatroom_head", "templates/chatroom_head.html",
"tpl!chatroom_invite", "templates/chatroom_invite.html",
"tpl!chatroom_nickname_form", "templates/chatroom_nickname_form.html",
"tpl!chatroom_password_form", "templates/chatroom_password_form.html",
"tpl!chatroom_sidebar", "templates/chatroom_sidebar.html",
"tpl!chatroom_toolbar", "templates/chatroom_toolbar.html",
"tpl!info", "templates/info.html",
"tpl!list_chatrooms_modal", "templates/list_chatrooms_modal.html",
"tpl!occupant", "templates/occupant.html",
"tpl!room_description", "templates/room_description.html",
"tpl!room_item", "templates/room_item.html",
"tpl!room_panel", "templates/room_panel.html",
"tpl!rooms_results", "templates/rooms_results.html",
"tpl!spinner", "templates/spinner.html",
"awesomplete", "awesomplete",
"converse-modal" "converse-modal"
], factory); ], factory);
......
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"bootstrap", "bootstrap",
"tpl!alert", "templates/alert.html",
"tpl!chat_status_modal", "templates/chat_status_modal.html",
"tpl!profile_modal", "templates/profile_modal.html",
"tpl!profile_view", "templates/profile_view.html",
"tpl!status_option", "templates/status_option.html",
"converse-vcard", "converse-vcard",
"converse-modal" "converse-modal"
], factory); ], factory);
......
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
(function (root, factory) { (function (root, factory) {
define(["form-utils", define(["form-utils",
"converse-core", "converse-core",
"tpl!form_username", "templates/form_username.html",
"tpl!register_link", "templates/register_link.html",
"tpl!register_panel", "templates/register_panel.html",
"tpl!registration_form", "templates/registration_form.html",
"tpl!registration_request", "templates/registration_request.html",
"tpl!form_input", "templates/form_input.html",
"tpl!spinner", "templates/spinner.html",
"converse-controlbox" "converse-controlbox"
], factory); ], factory);
}(this, function ( }(this, function (
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
define(["utils", define(["utils",
"converse-core", "converse-core",
"converse-muc", "converse-muc",
"tpl!rooms_list", "templates/rooms_list.html",
"tpl!rooms_list_item" "templates/rooms_list_item.html"
], factory); ], factory);
}(this, function (utils, converse, muc, tpl_rooms_list, tpl_rooms_list_item) { }(this, function (utils, converse, muc, tpl_rooms_list, tpl_rooms_list_item) {
const { Backbone, Promise, Strophe, b64_sha1, sizzle, _ } = converse.env; const { Backbone, Promise, Strophe, b64_sha1, sizzle, _ } = converse.env;
......
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
(function (root, factory) { (function (root, factory) {
define(["converse-core", define(["converse-core",
"tpl!add_contact_modal", "templates/add_contact_modal.html",
"tpl!group_header", "templates/group_header.html",
"tpl!pending_contact", "templates/pending_contact.html",
"tpl!requesting_contact", "templates/requesting_contact.html",
"tpl!roster", "templates/roster.html",
"tpl!roster_filter", "templates/roster_filter.html",
"tpl!roster_item", "templates/roster_item.html",
"tpl!search_contact", "templates/search_contact.html",
"awesomplete", "awesomplete",
"converse-chatboxes", "converse-chatboxes",
"converse-modal" "converse-modal"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
// Licensed under the Mozilla Public License (MPLv2) // Licensed under the Mozilla Public License (MPLv2)
(function (root, factory) { (function (root, factory) {
define(["converse-core", "crypto", "tpl!vcard"], factory); define(["converse-core", "crypto", "templates/vcard.html"], factory);
}(this, function (converse, CryptoJS, tpl_vcard) { }(this, function (converse, CryptoJS, tpl_vcard) {
"use strict"; "use strict";
const { Backbone, Promise, Strophe, SHA1, _, $iq, $build, b64_sha1, moment, sizzle } = converse.env; const { Backbone, Promise, Strophe, SHA1, _, $iq, $build, b64_sha1, moment, sizzle } = converse.env;
......
...@@ -21,7 +21,6 @@ if (typeof define !== 'undefined') { ...@@ -21,7 +21,6 @@ if (typeof define !== 'undefined') {
"converse-muc-views", "converse-muc-views",
"converse-muc-views", // Views related to MUC "converse-muc-views", // Views related to MUC
"converse-notification", // HTML5 Notifications "converse-notification", // HTML5 Notifications
"converse-otr", // Off-the-record encryption for one-on-one messages
"converse-ping", // XEP-0199 XMPP Ping "converse-ping", // XEP-0199 XMPP Ping
"converse-roster", "converse-roster",
"converse-register", // XEP-0077 In-band registration "converse-register", // XEP-0077 In-band registration
......
/*global define */ /*global define */
define(['lodash'], function (_) { define(['lodash'], function (_) {
if (!_.isUndefined(require) && !_.isUndefined(require.s)) {
/* XXX: This is a hack to make sure that the compiled templates have
* access to the _ object.
*
* Otherwise we sometimes get errors like this:
*
* TypeError: Cannot read property 'escape' of undefined
* at eval (./src/templates/chatroom_sidebar.html:6)
*/
var lodashLoader = require.s.contexts._.config.lodashLoader;
lodashLoader.templateSettings.imports = { '_': _ };
require.config({'lodashLoader': lodashLoader});
}
return _.noConflict(); return _.noConflict();
}); });
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
"backbone", "backbone",
"strophe", "strophe",
"uri", "uri",
"tpl!audio", "templates/audio.html",
"tpl!file", "templates/file.html",
"tpl!image", "templates/image.html",
"tpl!video" "templates/video.html"
], factory); ], factory);
} else { } else {
// Used by the mockups // Used by the mockups
......
...@@ -12,15 +12,15 @@ ...@@ -12,15 +12,15 @@
"sizzle", "sizzle",
"lodash.noconflict", "lodash.noconflict",
"utils", "utils",
"tpl!field", "templates/field.html",
"tpl!select_option", "templates/select_option.html",
"tpl!form_select", "templates/form_select.html",
"tpl!form_textarea", "templates/form_textarea.html",
"tpl!form_checkbox", "templates/form_checkbox.html",
"tpl!form_username", "templates/form_username.html",
"tpl!form_input", "templates/form_input.html",
"tpl!form_captcha", "templates/form_captcha.html",
"tpl!form_url", "templates/form_url.html",
], factory); ], factory);
}(this, function ( }(this, function (
sizzle, sizzle,
......
/*global path, __dirname, module */
'use strict'
const path = require('path');
const config = {
entry: path.resolve(__dirname, 'src/converse.js'),
externals: [{
"window": "window"
}],
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'converse.js'
},
devtool: 'source-map',
module: {
rules: [{
test: /\.html$/,
exclude: /node_modules/,
use: [{
loader: 'lodash-template-webpack-loader',
options: {
"escape": /\{\{\{([\s\S]+?)\}\}\}/g,
"evaluate": /\{\[([\s\S]+?)\]\}/g,
"interpolate": /\{\{([\s\S]+?)\}\}/g,
// By default, template places the values from your data in the
// local scope via the with statement. However, you can specify
// a single variable name with the variable setting. This can
// significantly improve the speed at which a template is able
// to render.
"variable": 'o',
"prependFilenameComment": __dirname
}
}]
}, {
test: /\.js$/,
exclude: /(node_modules|spec|mockup)/,
use: {
loader: 'babel-loader',
options: {
presets: [
["@babel/preset-env", {
"targets": {
"browsers": [">1%", "not ie 11", "not op_mini all"]
}
}]
]
}
}
}],
},
resolve: {
modules: [
'node_modules',
path.resolve(__dirname, "src"),
],
alias: {
"IPv6": path.resolve(__dirname, "node_modules/urijs/src/IPv6"),
"SecondLevelDomains": path.resolve(__dirname, "node_modules/urijs/src/SecondLevelDomains"),
"awesomplete": path.resolve(__dirname, "node_modules/awesomplete-avoid-xss/awesomplete"),
"backbone": path.resolve(__dirname, "node_modules/backbone/backbone"),
"backbone.browserStorage": path.resolve(__dirname, "node_modules/backbone.browserStorage/backbone.browserStorage"),
"backbone.nativeview": path.resolve(__dirname, "node_modules/backbone.nativeview/backbone.nativeview"),
"backbone.noconflict": path.resolve(__dirname, "src/backbone.noconflict"),
"backbone.orderedlistview": path.resolve(__dirname, "node_modules/backbone.overview/dist/backbone.orderedlistview"),
"backbone.overview": path.resolve(__dirname, "node_modules/backbone.overview/dist/backbone.overview"),
"backbone.vdomview": path.resolve(__dirname, "node_modules/backbone.vdomview/dist/backbone.vdomview"),
"bootstrap": path.resolve(__dirname, "node_modules/bootstrap.native/dist/bootstrap-native-v4"),
"crypto": path.resolve(__dirname, "node_modules/otr/build/dep/crypto"),
"emojione": path.resolve(__dirname, "node_modules/emojione/lib/js/emojione"),
"es6-promise": path.resolve(__dirname, "node_modules/es6-promise/dist/es6-promise.auto"),
"filesize": path.resolve(__dirname, "node_modules/filesize/lib/filesize"),
"form-utils": path.resolve(__dirname, "src/utils/form"),
"i18n": path.resolve(__dirname, "src/i18n"),
"jed": path.resolve(__dirname, "node_modules/jed/jed"),
"jquery": path.resolve(__dirname, "src/jquery-stub"),
"lodash": path.resolve(__dirname, "node_modules/lodash/lodash"),
"lodash.converter": path.resolve(__dirname, "3rdparty/lodash.fp"),
"lodash.fp": path.resolve(__dirname, "src/lodash.fp"),
"lodash.noconflict": path.resolve(__dirname, "src/lodash.noconflict"),
"message-utils": path.resolve(__dirname, "src/utils/message"),
"muc-utils": path.resolve(__dirname, "src/utils/muc"),
"pluggable": path.resolve(__dirname, "node_modules/pluggable.js/dist/pluggable"),
"polyfill": path.resolve(__dirname, "src/polyfill"),
"punycode": path.resolve(__dirname, "node_modules/urijs/src/punycode"),
"sizzle": path.resolve(__dirname, "node_modules/sizzle/dist/sizzle"),
"snabbdom": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom"),
"snabbdom-attributes": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-attributes"),
"snabbdom-class": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-class"),
"snabbdom-dataset": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-dataset"),
"snabbdom-eventlisteners": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-eventlisteners"),
"snabbdom-props": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-props"),
"snabbdom-style": path.resolve(__dirname, "node_modules/snabbdom/dist/snabbdom-style"),
"strophe": path.resolve(__dirname, "node_modules/strophe.js/strophe"),
"strophe.ping": path.resolve(__dirname, "node_modules/strophejs-plugin-ping/strophe.ping"),
"strophe.rsm": path.resolve(__dirname, "node_modules/strophejs-plugin-rsm/strophe.rsm"),
"tovnode": path.resolve(__dirname, "node_modules/snabbdom/dist/tovnode"),
"underscore": path.resolve(__dirname, "src/underscore-shim"),
"uri": path.resolve(__dirname, "node_modules/urijs/src/URI"),
"utils": path.resolve(__dirname, "src/utils/core"),
"vdom-parser": path.resolve(__dirname, "node_modules/vdom-parser/dist"),
"xss": path.resolve(__dirname, "node_modules/xss/dist/xss"),
"xss.noconflict": path.resolve(__dirname, "node_modules/xss.noconflict"),
"converse-bookmarks": path.resolve(__dirname, "src/converse-bookmarks"),
"converse-chatboxes": path.resolve(__dirname, "src/converse-chatboxes"),
"converse-caps": path.resolve(__dirname, "src/converse-caps"),
"converse-chatview": path.resolve(__dirname, "src/converse-chatview"),
"converse-controlbox": path.resolve(__dirname, "src/converse-controlbox"),
"converse-core": path.resolve(__dirname, "src/converse-core"),
"converse-disco": path.resolve(__dirname, "src/converse-disco"),
"converse-dragresize": path.resolve(__dirname, "src/converse-dragresize"),
"converse-embedded": path.resolve(__dirname, "src/converse-embedded"),
"converse-fullscreen": path.resolve(__dirname, "src/converse-fullscreen"),
"converse-headline": path.resolve(__dirname, "src/converse-headline"),
"converse-mam": path.resolve(__dirname, "src/converse-mam"),
"converse-message-view": path.resolve(__dirname, "src/converse-message-view"),
"converse-minimize": path.resolve(__dirname, "src/converse-minimize"),
"converse-modal": path.resolve(__dirname, "src/converse-modal"),
"converse-muc": path.resolve(__dirname, "src/converse-muc"),
"converse-muc-views": path.resolve(__dirname, "src/converse-muc-views"),
"converse-notification": path.resolve(__dirname, "src/converse-notification"),
"converse-ping": path.resolve(__dirname, "src/converse-ping"),
"converse-profile": path.resolve(__dirname, "src/converse-profile"),
"converse-register": path.resolve(__dirname, "src/converse-register"),
"converse-roomslist": path.resolve(__dirname, "src/converse-roomslist"),
"converse-roster": path.resolve(__dirname, "src/converse-roster"),
"converse-rosterview": path.resolve(__dirname, "src/converse-rosterview"),
"converse-singleton": path.resolve(__dirname, "src/converse-singleton"),
"converse-vcard": path.resolve(__dirname, "src/converse-vcard")
}
}
}
module.exports = config;
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