Add basePath and assetPrefix for github pages.

This commit is contained in:
2023-12-04 15:16:03 +13:00
parent 573482c7ea
commit d2fafdafdc

View File

@ -11,6 +11,8 @@ module.exports = withBundleAnalyzer({
images: {
unoptimized: true
},
basePath: '/ocp-app-delivery-workshop',
assetPrefix: '/ocp-app-delivery-workshop/',
experimental: { esmExternals: true },
webpack: (config, { dev, isServer }) => {
config.module.rules.push({