summaryrefslogtreecommitdiffstats
path: root/devtools/client/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webpack.config.js')
-rw-r--r--devtools/client/webpack.config.js39
1 files changed, 39 insertions, 0 deletions
diff --git a/devtools/client/webpack.config.js b/devtools/client/webpack.config.js
new file mode 100644
index 000000000..ae8c35e24
--- /dev/null
+++ b/devtools/client/webpack.config.js
@@ -0,0 +1,39 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+"use strict";
+
+module.exports = [{
+ bail: true,
+ entry: [
+ "./sourceeditor/codemirror/addon/dialog/dialog.js",
+ "./sourceeditor/codemirror/addon/search/searchcursor.js",
+ "./sourceeditor/codemirror/addon/search/search.js",
+ "./sourceeditor/codemirror/addon/edit/matchbrackets.js",
+ "./sourceeditor/codemirror/addon/edit/closebrackets.js",
+ "./sourceeditor/codemirror/addon/comment/comment.js",
+ "./sourceeditor/codemirror/mode/javascript/javascript.js",
+ "./sourceeditor/codemirror/mode/xml/xml.js",
+ "./sourceeditor/codemirror/mode/css/css.js",
+ "./sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js",
+ "./sourceeditor/codemirror/mode/clike/clike.js",
+ "./sourceeditor/codemirror/mode/wasm/wasm.js",
+ "./sourceeditor/codemirror/addon/selection/active-line.js",
+ "./sourceeditor/codemirror/addon/edit/trailingspace.js",
+ "./sourceeditor/codemirror/keymap/emacs.js",
+ "./sourceeditor/codemirror/keymap/vim.js",
+ "./sourceeditor/codemirror/keymap/sublime.js",
+ "./sourceeditor/codemirror/addon/fold/foldcode.js",
+ "./sourceeditor/codemirror/addon/fold/brace-fold.js",
+ "./sourceeditor/codemirror/addon/fold/comment-fold.js",
+ "./sourceeditor/codemirror/addon/fold/xml-fold.js",
+ "./sourceeditor/codemirror/addon/fold/foldgutter.js",
+ "./sourceeditor/codemirror/lib/codemirror.js",
+ ],
+ output: {
+ filename: "./sourceeditor/codemirror/codemirror.bundle.js",
+ libraryTarget: "var",
+ library: "CodeMirror",
+ },
+}];