Skip to content

Commit 0c9bcd5

Browse files
committed
refactor: log publicPath info
1 parent 64b8dde commit 0c9bcd5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils/getPaths.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export default function getPaths(context) {
1212
? compilation.getPath(compilation.outputOptions.publicPath)
1313
: '';
1414

15+
if (publicPath) {
16+
context.logger.info(`webpack output is served from "${publicPath === 'auto' ? '/' : publicPath}" URL`);
17+
}
18+
1519
publicPaths.push({ outputPath, publicPath });
1620
}
1721

0 commit comments

Comments
 (0)