Skip to content

Commit 7b0e225

Browse files
stefan-krajnikqdouble
authored andcommitted
Added root('node_modules/@nguniversal') into EXCLUDE_SOURCE_MAPS (#290)
1 parent a0b4184 commit 7b0e225

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

constants.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ exports.DEV_SERVER_PROXY_CONFIG = {
2121
}
2222

2323
/**
24-
* These constants set the source maps that will be used on build.
25-
* For info on source map options, go to:
24+
* These constants set the source maps that will be used on build.
25+
* For info on source map options, go to:
2626
* https://webpack.github.io/docs/configuration.html#devtool
2727
*/
2828
exports.DEV_SOURCE_MAPS = 'eval';
2929
exports.PROD_SOURCE_MAPS = 'source-map';
3030

3131
/**
32-
* Set watch options for Dev Server. For better HMR performance, you can
33-
* try setting poll to 1000 or as low as 300 and set aggregateTimeout to as low as 0.
32+
* Set watch options for Dev Server. For better HMR performance, you can
33+
* try setting poll to 1000 or as low as 300 and set aggregateTimeout to as low as 0.
3434
* These settings will effect CPU usage, so optimal setting will depend on your dev environment.
3535
* https://github.com/webpack/docs/wiki/webpack-dev-middleware#watchoptionsaggregatetimeout
3636
*/
@@ -49,6 +49,7 @@ exports.STORE_DEV_TOOLS = 'monitor'
4949
exports.EXCLUDE_SOURCE_MAPS = [
5050
// these packages have problems with their sourcemaps
5151
root('node_modules/@angular'),
52+
root('node_modules/@nguniversal'),
5253
root('node_modules/rxjs')
5354
]
5455

0 commit comments

Comments
 (0)