Skip to content

Commit

Permalink
Merge pull request #627 from DIVD-NL/new-cms
Browse files Browse the repository at this point in the history
Fixed new cms JS file not being relatively referenced
  • Loading branch information
MagicLegend authored Dec 17, 2024
2 parents 59890bf + 4ce6019 commit d4cbc4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from 'vite';

export default defineConfig({
root: 'cms', // Set the root to `cms` since `index.html` is there
base: './', // Set the base to `./` so paths are relative
build: {
outDir: '../admin/new-cms', // Output directory for the build (relative to root)
emptyOutDir: true, // Clear output directory before building
Expand Down

0 comments on commit d4cbc4d

Please sign in to comment.