https://github.com/brandonstubbs/vite-plugin-squint
A plugin to compile .cljs source code with squint using vite
https://github.com/brandonstubbs/vite-plugin-squint
Last synced: 5 months ago
JSON representation
A plugin to compile .cljs source code with squint using vite
- Host: GitHub
- URL: https://github.com/brandonstubbs/vite-plugin-squint
- Owner: brandonstubbs
- Created: 2024-03-28T15:23:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T23:13:30.000Z (about 2 years ago)
- Last Synced: 2025-11-30T03:52:24.835Z (7 months ago)
- Language: JavaScript
- Size: 59.6 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# squint-vite-plugin
A Squint plugin for [Vite](https://vitejs.dev/). Very early in it's development.
## Demos
### Squint + Vite (Vanilla)
This is the vite vanilla template with javascript removed and squint added. To play around with it:
```sh
cd demo/vanilla
# install dependencies
npm i
# run dev mode
npm run dev
# run build
npm run build
# run preview
npm run preview
```
### React + Squint + Vite
This is the vite + react template with squint added. To play around with it:
```sh
cd demo/react
# install dependencies
npm i
# run dev mode
npm run dev
# run build
npm run build
# run preview
npm run preview
```
### Preact + Squint + Vite
This is the vite + preact template with squint added. To play around with it:
```sh
cd demo/preact
# install dependencies
npm i
# run dev mode
npm run dev
# run build
npm run build
# run preview
npm run preview
```
### Solid + Squint + Vite
This is the vite + solid template with squint added. To play around with it:
```sh
cd demo/solid
# install dependencies
npm i
# run dev mode
npm run dev
# run build
npm run build
# run preview
npm run preview
```
### Qwik + Squint + Vite
This is the vite + qwik template with squint added. To play around with it:
```sh
cd demo/qwik
# install dependencies
npm i
# run dev mode
npm run dev
# run build
npm run build
# run preview
npm run preview
```
#### Currently unsupported / TODO
- [ ] `vite dev` / Hot-Module-Reloading (HMR)
- [ ] Squint Macros