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

This commit is contained in:
Primakov Alexandr Alexandrovich 2025-10-24 12:28:19 +03:00
parent 6ecfa18a6c
commit 054add7825

View File

@ -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: [