Gadget vite resolve.alias
I am trying to use vite's resolve.alias but it does not work, just want to know if I need to do additional steps to make it work on Gadget or not? I attached the folder structure I have.
Here is my
And Inside the
Thank you in advance
Here is my
vite.config.mjsAnd Inside the
sample.js file I am importing a file from modules folder. These are the formats Ive tried: '@/modules/somefile.js' and '@/modules/somefile' but none of them worked so far. Do I need to do another thing before this works?Thank you in advance
