flowbite-qwik-cli
Version:
This is a CLI tool to setup flowbite qwik into your project
23 lines (21 loc) • 430 B
text/typescript
import { defineConfig } from 'vite'
export default defineConfig(() => {
return {
build: {
target: 'esnext',
lib: {
entry: './src/init.ts',
formats: ['cjs'],
},
outDir: 'bin',
rollupOptions: {
output: {
assetFileNames: (chunkInfo) => {
return chunkInfo.name || 'index'
},
},
external: [/^node:.*/],
},
},
}
})