forked from Offroaders123/Smart-Text-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brought this over from Dovetail. Haven't gotten the TypeScript Service Worker set up properly yet. It works for vite preview, but I can't get a proxy for it to work while running the app with vite dev.
- Loading branch information
1 parent
ddc5370
commit b2feb33
Showing
3 changed files
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { defineConfig } from "vite"; | ||
|
||
export default defineConfig({ | ||
base: "./", | ||
build: { | ||
target: "esnext" | ||
}, | ||
server: { | ||
port: 5500, | ||
strictPort: true | ||
}, | ||
preview: { | ||
port: 5500, | ||
strictPort: true | ||
} | ||
}); |