Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
fix(source-map-error): Solve source mapping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Apr 25, 2017
1 parent b22b370 commit cdcd8ac
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions etc/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,13 @@ var config = {
loader: 'source-map-loader',
exclude: [
// these packages have problems with their sourcemaps
helpers.root('node_modules/rxjs'),
helpers.root('node_modules/@angular'),
helpers.root('node_modules/@ngrx'),
helpers.root('node_modules/@angular2-material')
path.resolve(__dirname, '../../../ionic-angular'),
path.resolve(__dirname, '../../../@ionic'),
path.resolve(__dirname, '../../../@ionic-native'),
path.resolve(__dirname, '../../../@rxjs'),
path.resolve(__dirname, '../../../@angular'),
path.resolve(__dirname, '../../../@ngrx'),
path.resolve(__dirname, '../../../@angular2-material')
],
enforce: 'pre'
},
Expand Down

0 comments on commit cdcd8ac

Please sign in to comment.