Add basePath and assetPrefix for github pages.
This commit is contained in:
@ -11,6 +11,8 @@ module.exports = withBundleAnalyzer({
|
|||||||
images: {
|
images: {
|
||||||
unoptimized: true
|
unoptimized: true
|
||||||
},
|
},
|
||||||
|
basePath: '/ocp-app-delivery-workshop',
|
||||||
|
assetPrefix: '/ocp-app-delivery-workshop/',
|
||||||
experimental: { esmExternals: true },
|
experimental: { esmExternals: true },
|
||||||
webpack: (config, { dev, isServer }) => {
|
webpack: (config, { dev, isServer }) => {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user