Bug 1331911 - fix inspector npm start for windows;r=pbro
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 18 Jan 2017 16:06:55 +0100
changeset 377195 f3db78764c55ca4d581002c99a2430e7f068660b
parent 377194 03792b9efb644ad2497921c434c4362561bf478e
child 377196 276202b206839a1c2563408fbcfa969272d929d8
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1331911
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1331911 - fix inspector npm start for windows;r=pbro MozReview-Commit-ID: KvnKdTU6NKA
devtools/client/inspector/package.json
devtools/client/inspector/webpack.config.js
--- a/devtools/client/inspector/package.json
+++ b/devtools/client/inspector/package.json
@@ -2,16 +2,13 @@
   "name": "inspector.html",
   "version": "0.0.1",
   "description": "The Firefox Inspector",
   "scripts": {
     "start": "node bin/dev-server"
   },
   "author": "",
   "dependencies": {
-    "devtools-local-toolbox": "0.0.10",
-    "devtools-modules": "0.0.9",
-    "devtools-sham-modules": "0.0.9",
-    "devtools-config": "0.0.9",
+    "devtools-local-toolbox": "0.0.12",
     "raw-loader": "^0.5.1",
     "json-loader": "^0.5.4"
   }
 }
--- a/devtools/client/inspector/webpack.config.js
+++ b/devtools/client/inspector/webpack.config.js
@@ -125,12 +125,12 @@ module.exports = envConfig => {
       "resource://gre/modules/XPCOMUtils.jsm": "{}",
       "resource://devtools/client/styleeditor/StyleEditorUI.jsm": "{}",
       "resource://devtools/client/styleeditor/StyleEditorUtil.jsm": "{}",
       "devtools/client/shared/developer-toolbar": "{}",
     },
   ];
 
   // Exclude all files from devtools/ or addon-sdk/ or modules/ .
-  webpackConfig.babelExcludes = /(devtools\/|addon-sdk\/|modules\/)/;
+  webpackConfig.babelExcludes = /(devtools(\/|\\)|addon-sdk(\/|\\)|modules(\/|\\))/;
 
   return toolboxConfig(webpackConfig, envConfig);
 };