Skip to content

Instantly share code, notes, and snippets.

@IgorMinar
Created March 22, 2017 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IgorMinar/ab9a270637cfacc21ae15705a7dab389 to your computer and use it in GitHub Desktop.
Save IgorMinar/ab9a270637cfacc21ae15705a7dab389 to your computer and use it in GitHub Desktop.
Patch @angular/cli@1.0.x to enable vendor source maps
--- common.js.orig 2017-03-22 10:53:54.000000000 -0700
+++ common.js 2017-03-22 10:54:37.000000000 -0700
@@ -69,7 +69,7 @@
},
module: {
rules: [
- { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader', exclude: [nodeModules] },
+ { enforce: 'pre', test: /\.js$/, loader: 'source-map-loader'},
{ test: /\.json$/, loader: 'json-loader' },
{ test: /\.html$/, loader: 'raw-loader' },
{ test: /\.(eot|svg)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment