Skip to content

Commit

Permalink
Vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentpayot committed Oct 19, 2023
1 parent 97ca192 commit b20cda6
Show file tree
Hide file tree
Showing 5 changed files with 365 additions and 8 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@
],
"author": "Laurent Payot",
"license": "MIT",
"main": "index.js",
"type": "module",
"scripts": {
"test": "spago test",
"build:html": "cp src/index.html dist/",
"build": "spago bundle-app --to dist/index.js --minify --then 'pnpm --silent build:html'",
"start": "spago bundle-app --to dist/index.js --watch --source-maps --clear-screen --then 'pnpm --silent build:html'",
"build:spago": "spago bundle-app --to dist/index.js --minify --then 'pnpm --silent build:html'",
"start:spago": "spago bundle-app --to dist/index.js --watch --source-maps --clear-screen --then 'pnpm --silent build:html'",
"start": "vite",
"build": "vite build",
"do-update": "pnpm update --recursive --latest"
},
"devDependencies": {
"esbuild": "^0.19.5",
"purescript": "^0.15.12",
"purs-tidy": "^0.10.0",
"spago": "^0.21.0"
"spago": "^0.21.0",
"vite": "^4.5.0"
}
}
Loading

0 comments on commit b20cda6

Please sign in to comment.