Bug 1331911 - fix inspector npm start for windows;r=pbro
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 18 Jan 2017 16:06:55 +0100
changeset 374911 f3db78764c55ca4d581002c99a2430e7f068660b
parent 374910 03792b9efb644ad2497921c434c4362561bf478e
child 374912 276202b206839a1c2563408fbcfa969272d929d8
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [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);
 };