Skip to content

Commit

Permalink
fix(docz-core): exclude node modules from source map loader
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jan 21, 2019
1 parent 9f314cd commit 1c7c9f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/docz-core/src/bundler/loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export const sourceMaps = (config: Config, args: Args) => {
.include.add(srcPath)
.add(paths.app)
.end()
.exclude.add(excludeNodeModules)
.end()
.use('sourcemaps')
.loader(require.resolve('source-map-loader'))
.end()
Expand Down

0 comments on commit 1c7c9f7

Please sign in to comment.