fix: bank display showing 1 instead of 0 + build fixes
- Removed 'e.bank||1' falsy trap (was converting bank 0 to 1) - Fixed TypeScript errors: cp guard, unused vars, path aliases - Added base: '/ui/' to vite config for correct asset paths - Bank persistence already implemented (localStorage pedal-footswitch-bank) - Rebuilt and deployed to src/web/ui-dist/
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
"module": "esnext",
|
||||
"types": ["vite/client"],
|
||||
"skipLibCheck": true,
|
||||
"ignoreDeprecations": "6.0",
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
@@ -14,6 +15,10 @@
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
|
||||
/* Linting */
|
||||
"noUnusedLocals": true,
|
||||
|
||||
Reference in New Issue
Block a user