I made Vite template that is debuggable in VSCode. #2696
tenpaMk2
started this conversation in
Show and tell
Replies: 1 comment
-
@tenpaMk2 Thanks! This is so awesome! I'm definitely trying this out as soon as I can! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a Vite template that can be debugged in VSCode❗
I know there is already a Vite template available, but my template has the following new features
VSCode debuggable
I think it is a bit complicated to be able to debug with VSCode. This is because the configuration changes depending on each build environment (Vite, Parcel2, WebPack, etcetc...) .
No more wasting time❗
I have already prepared
launch.json
for you.Tiled plugin support
I think it is also complicated to use Tiled plug-ins.
This is because modern build environments (especially Vite) append hash to file names.
This is a trap.
The Tiled plugin can not handle hashed filenames well.
No more wasting time❗
I have already prepared suitable directory structures.
The key is to use
public
directory for assets used by Tiled plugin.Beta Was this translation helpful? Give feedback.
All reactions