fix: remove some of any type annotations in index.ts (#63)
* refactor: wrap Vite configuration with `defineConfig`
* refactor: remove type any
* refactor: remove as any
* refactor: remove as any
* refactor: use UserConfig type instead of defineConfig for internal config object
defineConfig is an identity function meant for user-land vite.config files.
Frameworks should use the UserConfig type annotation directly, which provides
the same type inference without the semantic mismatch.
---------
Co-authored-by: Fred K. Schott <622227+FredKSchott@users.noreply.github.com>