I tried to add a .env file to the boilerplate project I got from npx @lightningjs/blits@latest but ran into a few errors. This PR changes the boilerplate code so that .env.* files can be used.
Changes
Example .env.example file added.
.gitignore ignores any .env files.
ecmaVersion in eslintrc.cjs uses 2020.
Added /// <reference types="vite/client" /> to vite.config.js
I tried to add a
.env
file to the boilerplate project I got fromnpx @lightningjs/blits@latest
but ran into a few errors. This PR changes the boilerplate code so that.env.*
files can be used.Changes
.env.example
file added..gitignore
ignores any.env
files.ecmaVersion
ineslintrc.cjs
uses2020
./// <reference types="vite/client" />
tovite.config.js
Home.js
.