From 2142ad7820746ad0dabf736928a0617ddbcfd7ea Mon Sep 17 00:00:00 2001 From: Julian Descottes Date: Thu, 24 Nov 2016 17:04:05 +0100 Subject: [PATCH] Bug 1321509 - move client/package.json to sourceeditor;r=bgrins MozReview-Commit-ID: 5lte5RWiwJe --HG-- rename : devtools/client/package.json => devtools/client/sourceeditor/package.json rename : devtools/client/webpack.config.js => devtools/client/sourceeditor/webpack.config.js extra : rebase_source : a6310a09b98295800d1434914afd20c910c63e85 --- .../client/{ => sourceeditor}/package.json | 2 +- .../client/sourceeditor/webpack.config.js | 39 +++++++++++++++++++ devtools/client/webpack.config.js | 39 ------------------- 3 files changed, 40 insertions(+), 40 deletions(-) rename devtools/client/{ => sourceeditor}/package.json (93%) create mode 100644 devtools/client/sourceeditor/webpack.config.js delete mode 100644 devtools/client/webpack.config.js diff --git a/devtools/client/package.json b/devtools/client/sourceeditor/package.json similarity index 93% rename from devtools/client/package.json rename to devtools/client/sourceeditor/package.json index 3b89783bad55..924406ccc17a 100644 --- a/devtools/client/package.json +++ b/devtools/client/sourceeditor/package.json @@ -1,5 +1,5 @@ { - "name": "devtools", + "name": "sourceeditor", "version": "0.0.1", "description": "", "main": "", diff --git a/devtools/client/sourceeditor/webpack.config.js b/devtools/client/sourceeditor/webpack.config.js new file mode 100644 index 000000000000..cc57f024e0ab --- /dev/null +++ b/devtools/client/sourceeditor/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: [ + "./codemirror/addon/dialog/dialog.js", + "./codemirror/addon/search/searchcursor.js", + "./codemirror/addon/search/search.js", + "./codemirror/addon/edit/matchbrackets.js", + "./codemirror/addon/edit/closebrackets.js", + "./codemirror/addon/comment/comment.js", + "./codemirror/mode/javascript/javascript.js", + "./codemirror/mode/xml/xml.js", + "./codemirror/mode/css/css.js", + "./codemirror/mode/htmlmixed/htmlmixed.js", + "./codemirror/mode/clike/clike.js", + "./codemirror/mode/wasm/wasm.js", + "./codemirror/addon/selection/active-line.js", + "./codemirror/addon/edit/trailingspace.js", + "./codemirror/keymap/emacs.js", + "./codemirror/keymap/vim.js", + "./codemirror/keymap/sublime.js", + "./codemirror/addon/fold/foldcode.js", + "./codemirror/addon/fold/brace-fold.js", + "./codemirror/addon/fold/comment-fold.js", + "./codemirror/addon/fold/xml-fold.js", + "./codemirror/addon/fold/foldgutter.js", + "./codemirror/lib/codemirror.js", + ], + output: { + filename: "./codemirror/codemirror.bundle.js", + libraryTarget: "var", + library: "CodeMirror", + }, +}]; diff --git a/devtools/client/webpack.config.js b/devtools/client/webpack.config.js deleted file mode 100644 index ae8c35e242cf..000000000000 --- a/devtools/client/webpack.config.js +++ /dev/null @@ -1,39 +0,0 @@ -/* 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", - }, -}];