-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change inline-source-map to source-map for dev and common, prod …
…already supports (#1659)
- Loading branch information
1 parent
10dd465
commit e0454e3
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ const path = require('path') | |
export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) { | ||
return { | ||
debug: true, | ||
devtool: 'cheap-module-source-map', | ||
devtool: 'source-map', | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
clydin
Member
|
||
output: { | ||
path: path.resolve(projectRoot, './dist'), | ||
filename: '[name].bundle.js', | ||
|
@TheLarkInn @filipesilva This does not appear to be working. I am using master version of CLI and ng server fails for a very basic app with material. I have changed from 'source-map' to 'cheap-module-source-map' and then ng serve works. Because I am not sure if you already know it, and master is not yet released, I am reluctant to raise a defect. Please let me know if you need a sample to reproduce.