* ensure we wait in the `build` step as well It looks like when running `astro build` we only run this `build` step and not the `dev` step where we already use the `waitForRequestsIdle` code. Adding this to the `build` part as well does generate the correct result. * update changelog * fix typo * add comment * Don’t run transforms more than necessary * Don’t remove modules from the graph during SSR * Update changelog * Add `preview` script --------- Co-authored-by: Jordan Pittman <jordan@cryptica.me>
25 lines
687 B
JSON
25 lines
687 B
JSON
{
|
|
"name": "vite-playground",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"lint": "tsc --noEmit",
|
|
"dev": "bun --bun vite ./src --config ./vite.config.ts",
|
|
"build": "bun --bun vite build ./src --outDir ../dist --config ./vite.config.ts --emptyOutDir",
|
|
"preview": "bun --bun vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "workspace:^",
|
|
"tailwindcss": "workspace:^",
|
|
"@vitejs/plugin-react": "^4.2.1",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.2.48",
|
|
"@types/react-dom": "^18.2.18",
|
|
"bun": "^1.0.26",
|
|
"vite": "^5.2.0",
|
|
"vite-plugin-handlebars": "^2.0.0"
|
|
}
|
|
}
|