Skip to content

Commit

Permalink
feat!: replace express with a vite development server
Browse files Browse the repository at this point in the history
  • Loading branch information
Daydreamer-riri committed Apr 9, 2024
1 parent 802d120 commit e399bc3
Show file tree
Hide file tree
Showing 13 changed files with 210 additions and 744 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,6 @@ export default {
}
```

### Https

If you set `https` to true in Vite, we will by default use `devcert` to generate a local HTTPS service for you. Of course, if you pass in your own custom https parameters, we will also help you pass them through to the Express server.

```ts
export default defineConfig({
server: {
Expand Down
1 change: 1 addition & 0 deletions examples/lazy-pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
},
"dependencies": {
"@remix-run/web-fetch": "^4.4.2",
"express": "^4.18.2",
"fs-extra": "^11.2.0",
"html-minifier": "^4.0.0",
"html5parser": "^2.0.2",
Expand All @@ -114,7 +113,6 @@
"devDependencies": {
"@childrentime/devcert": "^1.2.5",
"@ririd/eslint-config": "^1.1.0",
"@types/express": "^4.17.17",
"@types/fs-extra": "^11.0.1",
"@types/html-minifier": "^4.0.2",
"@types/jsdom": "^21.1.1",
Expand Down
Loading

0 comments on commit e399bc3

Please sign in to comment.