You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
382 B

import { imba } from 'vite-plugin-imba';
import { proRouterViews } from './src/vite-plugin'
import { resolve } from 'path'
import { defineConfig } from 'vite';
import { name } from './package.json'
export default defineConfig({
plugins: [proRouterViews(), imba()],
build: {
lib: {
name: name,
fileName: "index",
entry: resolve(__dirname, 'src/main.imba'),
},
},
});