mirror of
https://github.com/lukin/keywind.git
synced 2025-01-08 08:56:22 +00:00
439cdabc8f
Co-authored-by: Anthony Lukin <anthony@lukin.dev>
19 lines
441 B
TypeScript
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',
|
|
},
|
|
},
|
|
},
|
|
});
|