diff --git a/README.md b/README.md index 60aaa50..7930a71 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,7 @@ A few mappings are applied by default, corresponding to the default configs for "webpack:///./~/*": "${webRoot}/node_modules/*", // Example: "webpack:///./~/querystring/index.js" -> "/Users/me/project/node_modules/querystring/index.js" "webpack:///./*": "${webRoot}/*", // Example: "webpack:///./src/app.js" -> "/users/me/project/src/app.js", "webpack:///*": "*", // Example: "webpack:///C:/project/app.ts" -> "C:/project/app.ts" + "webpack:///src/*": "${webRoot}/*", // Example: "webpack:///src/App.js" -> "C:/project/src/App.js" "meteor://💻app/*": "${webRoot}/*" // Example: "meteor://💻app/main.ts" -> "c:/code/main.ts" } ``` diff --git a/src/chromeDebugAdapter.ts b/src/chromeDebugAdapter.ts index 0e302a9..7089abc 100644 --- a/src/chromeDebugAdapter.ts +++ b/src/chromeDebugAdapter.ts @@ -17,8 +17,8 @@ const DefaultWebSourceMapPathOverrides: ISourceMapPathOverrides = { 'webpack:///./~/*': '${webRoot}/node_modules/*', 'webpack:///./*': '${webRoot}/*', 'webpack:///*': '*', - 'meteor://💻app/*': '${webRoot}/*', - 'webpack:///src/*': '${webRoot}/*' + 'webpack:///src/*': '${webRoot}/*', + 'meteor://💻app/*': '${webRoot}/*' }; export class ChromeDebugAdapter extends CoreDebugAdapter {