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

Commit f048e7b

Browse files
author
Nick Litwin
committed
Only add asset prefix when deploying
1 parent da120a3 commit f048e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ var config = require('appirio-tech-webpack-config')({
1313
favicon: './assets/images/favicon.ico'
1414
})
1515

16-
config.output.publicPath = process.env.ASSET_PREFIX || ''
16+
config.output.publicPath = process.env.TRAVIS_BRANCH ? process.env.ASSET_PREFIX : ''
1717

1818
module.exports = config

0 commit comments

Comments
 (0)