Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
deguchi committed Mar 30, 2022
1 parent ce95b37 commit 7fd9048
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"homepage": "https://github.com/CALIL/hiradumi#readme",
"scripts": {
"start": "vite --open",
"build": "tsc && vite build",
"build": "tsc && vite build --config ./vite.config.build.ts",
"serve": "vite preview",
"compile": "webpack",
"prepublishOnly": "npm run compile"
Expand Down
8 changes: 8 additions & 0 deletions vite.config.build.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from 'vite'
import reactRefresh from '@vitejs/plugin-react-refresh'

// https://vitejs.dev/config/
export default defineConfig({
plugins: [reactRefresh()],
base: '/hiradumi/',
})

0 comments on commit 7fd9048

Please sign in to comment.