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.

17 lines
414 B

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