gecko-dev/devtools/client/webpack.config.js
Brian Grinstead 296935fff5 Bug 1301790 - Bundle codemirror into a single script;r=gl
MozReview-Commit-ID: FnK8reRI4Ve

--HG--
rename : devtools/client/sourceeditor/codemirror/mode/clike.js => devtools/client/sourceeditor/codemirror/mode/clike/clike.js
rename : devtools/client/sourceeditor/codemirror/mode/css.js => devtools/client/sourceeditor/codemirror/mode/css/css.js
rename : devtools/client/sourceeditor/codemirror/mode/htmlmixed.js => devtools/client/sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js
rename : devtools/client/sourceeditor/codemirror/mode/javascript.js => devtools/client/sourceeditor/codemirror/mode/javascript/javascript.js
rename : devtools/client/sourceeditor/codemirror/mode/wasm.js => devtools/client/sourceeditor/codemirror/mode/wasm/wasm.js
rename : devtools/client/sourceeditor/codemirror/mode/xml.js => devtools/client/sourceeditor/codemirror/mode/xml/xml.js
2016-09-11 09:38:51 -07:00

40 lines
1.7 KiB
JavaScript

/* 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",
},
}];