-
|
I have problem if i insert js into cusotm page enviroment variables are not injected. How to modify dev mode or source typescript to insert this variables i have defined alias like: As i look if i insert into index.html html page is modified to insert: and inside of this script is import: how to achieve when i go to url: I found if manually add import into test.ts variables is define: How to achieve it in vite config to happen automatically. I think via plugin but here i am not clear how to get exact url |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Ok writing custom plugin was easy so if someone has similar problem just use this: |
Beta Was this translation helpful? Give feedback.
Ok writing custom plugin was easy so if someone has similar problem just use this: