Browse Source

Merge pull request #967 from MovieWebIPFS/patch-1

feat: allow setting 'base' via VITE_BASE_URL
pull/992/head
William Oldham 1 year ago committed by GitHub
parent
commit
89bc201b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      vite.config.mts

1
vite.config.mts

@ -24,6 +24,7 @@ const captioningPackages = [
export default defineConfig(({ mode }) => { export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd()); const env = loadEnv(mode, process.cwd());
return { return {
base: env.VITE_BASE_URL || '/',
plugins: [ plugins: [
million.vite({ auto: true, mute: true }), million.vite({ auto: true, mute: true }),
handlebars({ handlebars({

Loading…
Cancel
Save