Fix client-side errors
This commit is contained in:
@@ -18,8 +18,13 @@ export default defineConfig(({mode}) => {
|
||||
key: fs.readFileSync('localhost-key.pem'),
|
||||
cert: fs.readFileSync('localhost.pem'),
|
||||
},
|
||||
port: 5173, // Ensure this matches your WebStorm debug URL
|
||||
open: true, // Automatically opens the browser
|
||||
host: 'localhost',
|
||||
},
|
||||
build: {
|
||||
sourcemap: true // Enable source maps for debugging
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': fileURLToPath(new URL('./src', import.meta.url))
|
||||
|
||||
Reference in New Issue
Block a user