Being explicit in vite configuration for relative paths (#4264)
This commit is contained in:
parent
d5cce666d3
commit
0dabf87815
|
@ -31,6 +31,7 @@ export default defineConfig(({mode}) => {
|
||||||
|
|
||||||
return ({
|
return ({
|
||||||
...defaultConfig,
|
...defaultConfig,
|
||||||
|
base: '',
|
||||||
esbuild: {
|
esbuild: {
|
||||||
pure: mode === 'production' ? ['console.log'] : [],
|
pure: mode === 'production' ? ['console.log'] : [],
|
||||||
keepNames: true,
|
keepNames: true,
|
||||||
|
|
Loading…
Reference in New Issue