Commit a3040a45 authored by JC Brand's avatar JC Brand

Move the `converse-roster` plugin to the @converse/headless build

parent 14b9c579
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
// Copyright (c) 2013-2018, the Converse.js developers // Copyright (c) 2013-2018, the Converse.js developers
// Licensed under the Mozilla Public License (MPLv2) // Licensed under the Mozilla Public License (MPLv2)
import "@converse/headless/converse-roster";
import "@converse/headless/converse-chatboxes"; import "@converse/headless/converse-chatboxes";
import "converse-modal"; import "converse-modal";
import Awesomplete from "awesomplete"; import Awesomplete from "awesomplete";
......
...@@ -14,14 +14,13 @@ import "converse-push"; // XEP-0357 Push Notifications ...@@ -14,14 +14,13 @@ import "converse-push"; // XEP-0357 Push Notifications
import "converse-headline"; // Support for headline messages import "converse-headline"; // Support for headline messages
import "@converse/headless/converse-mam"; // XEP-0313 Message Archive Management import "@converse/headless/converse-mam"; // XEP-0313 Message Archive Management
import "converse-minimize"; // Allows chat boxes to be minimized import "converse-minimize"; // Allows chat boxes to be minimized
import "@converse/headless/converse-muc"; // XEP-0045 Multi-user chat
import "converse-muc-views"; // Views related to MUC import "converse-muc-views"; // Views related to MUC
import "converse-notification"; // HTML5 Notifications import "converse-notification"; // HTML5 Notifications
import "converse-omemo"; import "converse-omemo";
import "@converse/headless/converse-ping"; // XEP-0199 XMPP Ping import "@converse/headless/converse-ping"; // XEP-0199 XMPP Ping
import "converse-register"; // XEP-0077 In-band registration import "converse-register"; // XEP-0077 In-band registration
import "converse-roomslist"; // Show currently open chat rooms import "converse-roomslist"; // Show currently open chat rooms
import "converse-roster"; import "converse-rosterview";
import "@converse/headless/converse-vcard"; // XEP-0054 VCard-temp import "@converse/headless/converse-vcard"; // XEP-0054 VCard-temp
/* END: Removable components */ /* END: Removable components */
......
/* * This file is used to tell require.js which components (or plugins) to load /* START: Removable components
* when it generates a build of converse-headless.js (in the dist/ directory) * --------------------
* Any of the following components may be removed if they're not needed.
*/ */
if (typeof define !== 'undefined') { import "./converse-chatboxes"; // Backbone Collection and Models for chat boxes
// The section below determines which plugins will be included in a build import "./converse-disco"; // Service discovery plugin
define([ import "./converse-mam"; // XEP-0313 Message Archive Management
"./converse-core", import "./converse-muc"; // XEP-0045 Multi-user chat
/* START: Removable components import "./converse-ping"; // XEP-0199 XMPP Ping
* -------------------- import "./converse-roster"; // Contacts Roster
* Any of the following components may be removed if they're not needed. import "./converse-vcard"; // XEP-0054 VCard-temp
*/ /* END: Removable components */
"./converse-chatboxes", // Backbone Collection and Models for chat boxes
"./converse-disco", // Service discovery plugin import converse from "./converse-core";
"./converse-mam", // XEP-0313 Message Archive Management
"./converse-ping", // XEP-0199 XMPP Ping export default converse;
"./converse-vcard", // XEP-0054 VCard-temp
/* END: Removable components */
], function(converse) {
return 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