This commit is contained in:
Untone 2024-07-22 09:57:48 +03:00
parent 85e0a92b31
commit 1a9529d9fc
3 changed files with 21 additions and 4 deletions

16
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,16 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Brave against localhost",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000",
"webRoot": "${workspaceFolder}/src",
"sourceMaps": true,
"trace": true,
"runtimeExecutable": "/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"
}
]
}

View File

@ -30,11 +30,12 @@ export default defineConfig({
https: true https: true
}, },
devOverlay: true, devOverlay: true,
vite: {
build: { build: {
sourcemap: true,
chunkSizeWarningLimit: 1024, chunkSizeWarningLimit: 1024,
target: 'esnext' target: 'esnext'
}, },
vite: {
envPrefix: 'PUBLIC_', envPrefix: 'PUBLIC_',
plugins: [!isVercel && mkcert(), nodePolyfills(polyfillOptions), sassDts()], plugins: [!isVercel && mkcert(), nodePolyfills(polyfillOptions), sassDts()],
css: { css: {

View File