mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 19:59:07 +01:00
Merge pull request #967 from MovieWebIPFS/patch-1
feat: allow setting 'base' via VITE_BASE_URL
This commit is contained in:
commit
89bc201b73
@ -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…
x
Reference in New Issue
Block a user