Skip to content

Commit 130d5c4

Browse files
committed
pass "publicPath" from the config to webpack
1 parent 9b29fcf commit 130d5c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function getWebpackCommonConfig(
4242
entry: entry,
4343
output: {
4444
path: path.resolve(projectRoot, appConfig.outDir),
45+
publicPath: appConfig.publicPath,
4546
filename: '[name].bundle.js',
4647
sourceMapFilename: '[name].bundle.map',
4748
chunkFilename: '[id].chunk.js'

0 commit comments

Comments
 (0)