Skip to content

Commit

Permalink
fix(angular#1875): Support npm linked libraries (angular#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiisol authored and Jonathan Jayet committed Oct 14, 2016
1 parent 278aec3 commit 07d79f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/angular-cli/models/webpack-build-common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export function getWebpackCommonConfig(
return {
devtool: 'source-map',
resolve: {
extensions: ['.ts', '.js']
extensions: ['.ts', '.js'],
modules: [path.resolve(projectRoot, 'node_modules')]
},
context: path.resolve(__dirname, './'),
entry: entry,
Expand Down

0 comments on commit 07d79f5

Please sign in to comment.