-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure source map path #11513
Comments
This is not configurable. Most IDEs support debug configurations that allow debugging from within the IDE. Please see this issue with sample configurations for vscode: #2453 |
It seems like you're saying that if you author libraries with webpack, those libraries can't be consumed in an Angular CLI project (if sourcemaps in Chrome are important), unless you're willing to switch from using So as I read this, it seems the instructions are:
That's a lot to ask considering it seems like Angular CLI is the one responsible for messing up the sourcemap paths to begin with. I can include the webpack libraries in a vanilla HTML file via edit: as @vanmxpx mentioned in #2453, the inability to eject is also unfortunate since this would be easy to resolve in a webpack config via |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Area
Versions
NPM v5.5.1
Angular CLI: 6.0.8
Node: 9.3.0
OS: win32 x64
Angular: 6.0.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8
@angular/cli 6.0.8
@ngtools/webpack 6.0.8
@schematics/angular 0.6.8
@schematics/update 0.6.8
rxjs 6.2.1
typescript 2.7.2
webpack 4.8.3
Windows (10)
Repro steps
Create default angular application with "ng new [name]". Try to debug in Visual Studio 2017, VS Code, IDEA etc. Type script remote files will be not mapped to the sources, because of wrong webpack:// url.
The log given by the failure
There are no logs
Desired functionality
Since angular-cli removed ng eject command i cannot configure webpack to override source map files location. I need to override devtoolModuleFilenameTemplate option to set normal path with root directory.
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: