keywind/vite.config.ts
2023-02-05 00:00:00 +04: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',
},
},
},
});