Skip to content

Commit

Permalink
Don't run ts on config files lol
Browse files Browse the repository at this point in the history
  • Loading branch information
komali2 committed Mar 19, 2024
1 parent 948fec6 commit 8c2f45f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import nightwatchPlugin from 'vite-plugin-nightwatch'
const viteEnv = {}
Object.keys(process.env).forEach((key) => {
if (key.startsWith(`VITE_`)) {
// @ts-ignore
viteEnv[`import.meta.env.${key}`] = process.env[key]
}
})
Expand Down

0 comments on commit 8c2f45f

Please sign in to comment.