Skip to content

Commit

Permalink
ci: update path of the preview build (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
h2xd authored Aug 30, 2024
1 parent 748b2a7 commit 403bfde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export default defineConfig({
server: {
port: env === 'test' ? 3001 : 3000,
},
// Set the base if we are in a build environment to ensure the right path for the chunks
base: process.env.NODE_ENV === 'development' ? undefined : '/ui-theme/',
//alias
resolve: {
alias: {
Expand Down

0 comments on commit 403bfde

Please sign in to comment.