1
0

add a jsconfig file for better autocompletion

This makes editor help, such as autocomplete, much more usefull, while
still allowing me to use absolute paths for imports. The latter is
needed, so that I don't need an extra build step and also don't need to
wory too much about browser imports.

Does this violate the _browser based development_ principle? Yes, a tiny
little bit. However, using an editor is basically required, and making
it that much better seems worthwhile.

Did I waste too much time trying to make this perfect? Also yes. A
strong reminder why that principle is so important.
This commit is contained in:
Adrian Wannenmacher 2026-02-27 20:20:39 +01:00
parent 6ea9cfc803
commit 5011354ddc
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

10
jsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"compilerOptions": {
"paths": {
"/*": [
"./*"
]
},
"noEmit": true
}
}