Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 69dcdac

Browse files
author
Nick Litwin
committed
Test dynamic publicPath
1 parent 876aeda commit 69dcdac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ var config = require('appirio-tech-webpack-config')({
1515
favicon: './assets/images/favicon.ico'
1616
})
1717

18+
console.log('asset prefix is:::::::::::::::::::::::::::::::::')
19+
console.log(process.env.ASSET_PREFIX)
20+
config.output.publicPath = process.env.ASSET_PREFIX || ''
21+
1822
module.exports = config

0 commit comments

Comments
 (0)