Update webpack publicPath to use production CDN URL for asset delivery.
All checks were successful
platform/bro-js/bro.landing/pipeline/head This commit looks good
All checks were successful
platform/bro-js/bro.landing/pipeline/head This commit looks good
This commit is contained in:
parent
6ecfa18a6c
commit
054add7825
@ -17,7 +17,7 @@ module.exports = {
|
|||||||
webpackConfig: {
|
webpackConfig: {
|
||||||
output: {
|
output: {
|
||||||
publicPath: isProd
|
publicPath: isProd
|
||||||
? '/'
|
? 'https://static.brojs.ru/landing/main/'
|
||||||
: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
|
: `/static/${pkg.name}/${process.env.VERSION || pkg.version}/`,
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user