Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
sroussey committed Apr 6, 2024
1 parent 4451158 commit 2d0128c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"./packages/*"
],
"scripts": {
"build": "( cd packages/core && bun run build ) && ( cd packages/cli && bun run build )",
"build": "( cd packages/core && bun run build ) && ( cd packages/cli && bun run build ) && ( cd packages/web && bun run build )",
"clean": "rm -rf node_modules packages/*/node_modules packages/*/dist",
"watch": "bunx concurrently -c 'auto' -n core,cli 'cd packages/core && bun run watch' 'sleep 1 && cd packages/cli && bun run watch'",
"docs": "typedoc",
Expand Down
9 changes: 6 additions & 3 deletions packages/web/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
})
build: {
target: "ES2022",
},
});

0 comments on commit 2d0128c

Please sign in to comment.