Skip to content

Commit e0454e3

Browse files
TheLarkInnfilipesilva
authored andcommitted
fix: change inline-source-map to source-map for dev and common, prod already supports (#1659)
1 parent 10dd465 commit e0454e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

addon/ng2/models/webpack-build-common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { CliConfig } from './config';
77

88
export function getWebpackCommonConfig(projectRoot: string, sourceDir: string) {
99
return {
10-
devtool: 'inline-source-map',
10+
devtool: 'source-map',
1111
resolve: {
1212
extensions: ['', '.ts', '.js'],
1313
root: path.resolve(projectRoot, `./${sourceDir}`)

addon/ng2/models/webpack-build-development.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const path = require('path')
44
export const getWebpackDevConfigPartial = function(projectRoot: string, sourceDir: string) {
55
return {
66
debug: true,
7-
devtool: 'cheap-module-source-map',
7+
devtool: 'source-map',
88
output: {
99
path: path.resolve(projectRoot, './dist'),
1010
filename: '[name].bundle.js',

0 commit comments

Comments
 (0)