forked from mattermost/mattermost-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
export.js
15 lines (13 loc) · 656 Bytes
/
export.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import messageHtmlToComponent from 'utils/message_html_to_component';
import {formatText} from 'utils/text_formatting.jsx';
// Common libraries exposed on window for plugins to use as Webpack externals.
window.React = require('react');
window.ReactDOM = require('react-dom');
window.Redux = require('redux');
window.ReactRedux = require('react-redux');
window.ReactBootstrap = require('react-bootstrap');
window.PostUtils = {formatText, messageHtmlToComponent};
window.PropTypes = require('prop-types');
window.PDFJS = require('pdfjs-dist');