Skip to content

Commit 8bf69d9

Browse files
serhiisolfilipesilva
authored andcommitted
fix(#1875): Support npm linked libraries (#2291)
1 parent 63023ae commit 8bf69d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/angular-cli/models/webpack-build-common.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export function getWebpackCommonConfig(
3333
return {
3434
devtool: 'source-map',
3535
resolve: {
36-
extensions: ['.ts', '.js']
36+
extensions: ['.ts', '.js'],
37+
modules: [path.resolve(projectRoot, 'node_modules')]
3738
},
3839
context: path.resolve(__dirname, './'),
3940
entry: entry,

0 commit comments

Comments
 (0)