summaryrefslogtreecommitdiffstats
path: root/devtools/client/webpack.config.js
blob: ae8c35e242cfa5a31f73df7e75e0cc28ece44f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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",
  },
}];