vite plugin to load package version into env
Go to file
smnhgn 0cc51e747c Initial commit 2021-02-13 10:24:24 +01:00
example Initial commit 2021-02-13 10:24:24 +01:00
src Initial commit 2021-02-13 10:24:24 +01:00
.gitignore Initial commit 2021-02-13 10:24:24 +01:00
.prettierrc Initial commit 2021-02-13 10:24:24 +01:00
LICENSE Initial commit 2021-02-13 10:24:24 +01:00
README.md Initial commit 2021-02-13 10:24:24 +01:00
package-lock.json Initial commit 2021-02-13 10:24:24 +01:00
package.json Initial commit 2021-02-13 10:24:24 +01:00
tsconfig.json Initial commit 2021-02-13 10:24:24 +01:00

README.md

vite-plugin-typescript-starter

Typescript Starter Template for vite plugins.

Includes:

  • Plugin build with tsup
  • Example app (React-TS)
  • Parallel development of plugin and example-app with concurrently

Getting started

Click "Use this Template" or use degit to clone this repository.

Development

  • Install dependencies
npm install
  • Start plugin and example-app (react-ts)
npm run dev
  • Open browser on localhost:3000

Build

npm run build