Skip to content

Commit

Permalink
chore: add basic ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
shafin-deriv committed May 15, 2024
1 parent 0ea8eea commit bad0467
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"eslint": "^8.56.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { defineConfig } from 'vite';
import svgr from 'vite-plugin-svgr';

import basicSsl from '@vitejs/plugin-basic-ssl';
import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
define: {
global: 'window',
},
plugins: [react(), svgr()],
plugins: [react(), svgr(), basicSsl()],
server: {
port: 8443,
},
Expand Down

0 comments on commit bad0467

Please sign in to comment.