Commit Graph

23 Commits

Author SHA1 Message Date
Ralf Bauer
79074f78c3 fixed lint error 3 2025-01-10 20:04:57 +01:00
Ralf Bauer
9360e3e944 fixed lint error 2025-01-10 20:01:24 +01:00
Ralf Bauer
dbe80ad1f7 Merge remote-tracking branch 'origin/Database' into Database 2025-01-10 18:23:52 +01:00
Bernhard Kirchen
3948adf460 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-05 19:21:45 +01:00
Thomas Basler
d9a8461a2e Feature: Allow custom language pack for webapp 2024-10-21 20:15:56 +02:00
Thomas Basler
e3b66f7ffe webapp: Update dependencies 2024-10-08 18:15:03 +02:00
CommanderRedYT
d3d96b51ce
webapp: Fix eslint issues 2024-10-05 23:33:23 +02:00
vaterlangen
d770566aec increase chunkSizeWarningLimit for webapp build (#1287)
increase from 500k (default) to 1024k in order to get rid of the warning messages.
2024-09-26 21:31:53 +02:00
Ralf Bauer
d6c183c6d6 Merge https://github.com/RaBa64/OpenDTU-Database into Database 2024-05-27 18:42:02 +02:00
Thomas Basler
de156ef10a webapp: Fix lint errors 2024-04-12 20:34:30 +02:00
Thomas Basler
57a997baac webapp: update dependencies 2024-03-12 16:42:29 +01:00
Ralf Bauer
0c288e80ba show 2 years 2024-01-02 21:07:27 +01:00
Thomas Basler
614c0a0990 webapp: Update dependencies 2023-11-16 18:13:46 +01:00
Thomas Basler
4bf094c3ef webapp: Update default proxy ip 2023-08-09 18:23:50 +02:00
Bernhard Kirchen
452679e90b make vite proxy target easily configurable
the current proxy target IP address is probably only working for a
single developer at a time. this change introduces a vite.user.ts, which
is ingored by GIT, and which can define a proxy_target that works for
the respective developer.

this does not change the default behavior, as the fallback value is
still the old IP address. if the new vite.user.ts file does not exist,
or if it does not export proxy_target, the fallback value is used.

file vite.config.ts adds an example in a comment of how to bootstrap a
vite.user.ts.
2023-08-09 16:58:58 +02:00
Thomas Basler
6faabb4408 webapp: update dependencies 2023-03-23 23:37:58 +01:00
Thomas Basler
18a3b8dc46 webapp: Update dependencies 2023-03-14 18:29:21 +01:00
Thomas Basler
bf016461cd webapp: use terser for further size reduction 2023-02-20 19:28:58 +01:00
Thomas Basler
98dfbfbf16 webapp: use unplugin-vue-i18n to reduce bundle size 2023-02-20 19:15:36 +01:00
Thomas Basler
8f5d394f3a Added websocket for debug output 2022-12-19 21:38:39 +01:00
Thomas Basler
9ef4d39976 webapp: remove console logs from production builds 2022-12-08 23:18:42 +01:00
Thomas Basler
af4b47beeb webapp: Use scss instead of css
Enables easier theming in future
2022-11-02 20:39:18 +01:00
Thomas Basler
d798963df5 webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00