Post

Introducing @vite.dev-plugin-compile-time v0.4 Call `compileTime` anywhere and it will be replaced with the returned data at compile time git.new/compile-time

7 reposts93 likes

I mean more if there’s something defined in the same file can you use it in the comptime fn. E.g. a global or import. I’ll play with it a bit.