keywind/vite.config.ts
Constantin Wildförster 439cdabc8f feat: add recovery authn code and webauthn pages (#23)
Co-authored-by: Anthony Lukin <anthony@lukin.dev>
2022-11-08 14:57:53 +01:00

19 lines
441 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',
},
},
},
});