Skip to content

Commit

Permalink
fix: vite config base option
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Oct 27, 2024
1 parent 62afdab commit 090339b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const libConfig = {
const demoConfig = {
...sharedConfig,
root: 'src/demo',
base: '/',
base: process.env.NODE_ENV === 'production' ? '/formeo/' : '/',
resolve: {
alias: {
'formeo': resolve(__dirname, 'src/lib/js/index.js'),
Expand Down

0 comments on commit 090339b

Please sign in to comment.