keywind/vite.config.ts
CN 3d70b34ed9
Update vite.config.ts
Add port 8080 für dev
2024-01-04 09:52:25 +01:00

22 lines
474 B
TypeScript

import { defineConfig } from 'vite';
export default defineConfig({
build: {
rollupOptions: {
input: [
'src/index.ts',
'src/data/recoveryCodes.ts',
'src/data/webAuthnAuthenticate.ts',
'src/data/webAuthnRegister.ts',
],
output: {
assetFileNames: '[name][extname]',
dir: 'theme/keywind/login/resources/dist',
entryFileNames: '[name].js',
},
},
},
server: {
port: 8080,
},
});