add for basic-ssl

This commit is contained in:
2025-06-06 02:46:15 +08:00
commit 0a228d7799
11 changed files with 1115 additions and 0 deletions

11
demo/index.html Normal file
View File

@@ -0,0 +1,11 @@
<html>
<head>
<title>Vite App</title>
</head>
<body>
<h1>Hello Vite!</h1>
</body>
</html>

8
demo/vite.config.ts Normal file
View File

@@ -0,0 +1,8 @@
import { defineConfig } from 'vite';
// import { ssl } from '../dist/app.js';
import { ssl } from '../src/index.ts';
export default defineConfig({
plugins: [ssl()],
});