OpenDTU-old/webapp
Bernhard Kirchen fcf21ac1d6 keep console.log() when serving webapp
the removal of console and debugger statements by esbuild even when not
building for production seems to be a regression, as these were
definitely working in the past.

this change uses the command parameter to configure esbuild to either
keep or indeed remove the respective statements. they are only kept if
command is not "serve".

to avoid having to indent everything in defineConfig() by one block, the
return statement and closing curly brace were added "inline".
2024-11-03 11:55:34 +01:00
..
.vscode webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
public Updated timezone config 2024-04-24 22:33:37 +02:00
src webapp: add JDB BMS issue texts 2024-10-30 21:53:47 +01:00
.gitignore make vite proxy target easily configurable 2023-08-09 16:58:58 +02:00
.prettierrc.json webapp: Add Autoformatter 2024-07-05 21:32:26 +02:00
env.d.ts webapp: Update dependencies 2024-10-08 18:15:03 +02:00
eslint.config.js webapp: Fix eslint issues 2024-10-05 23:33:23 +02:00
index.html webapp: replace remaining "OpenDTU" texts with "OpenDTU-OnBattery" 2024-10-29 14:56:06 +01:00
package.json webapp: Update dependencies 2024-10-15 18:11:31 +02:00
README.md webapp documentation moved as well 2024-09-20 15:39:47 +02:00
tsconfig.config.json webapp: Upgrade tsconfig node18 to node22 2024-09-16 19:13:17 +02:00
tsconfig.json webapp: Upgrade tsconfig node18 to node22 2024-09-16 19:13:17 +02:00
vite.config.ts keep console.log() when serving webapp 2024-11-03 11:55:34 +01:00
yarn.lock webapp: Update dependencies 2024-10-15 18:11:31 +02:00

Moved

Have a look at the OpenDTU-OnBattery documentation.