Bug 1331911 - fix inspector npm start for windows;r=pbro draft
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 18 Jan 2017 16:06:55 +0100
changeset 463131 a365b84f56286e967969e1dab4e64472544c5e04
parent 462512 6a23526fe5168087d7e4132c0705aefcaed5f571
child 542584 03a8fec3f9a56ec5dc9d20152d17fb12821f8249
push id41965
push userjdescottes@mozilla.com
push dateWed, 18 Jan 2017 15:07:46 +0000
reviewerspbro
bugs1331911
milestone53.0a1
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);
 };