Add webpack:///src mapping to list of default mappings in readme

This commit is contained in:
Rob Lourens 2017-04-30 16:23:49 -07:00
Родитель 30220bfdbe
Коммит c1553aa017
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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"
}
```

Просмотреть файл

@ -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 {