Skip to content

Commit

Permalink
settings: Viteの設定ファイル作成(#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
h-yoshikawa44 committed Aug 17, 2024
1 parent 35b2cbe commit 6978664
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from "vite";

export default defineConfig({
base: process.env.NODE_ENV === "production" ? "/ch-random-quote/" : "./",
server: {
open: true,
},
});

0 comments on commit 6978664

Please sign in to comment.