Marek Piasecki
2 years ago
3 changed files with 13 additions and 4 deletions
@ -0,0 +1,4 @@ |
|||
#!/usr/bin/env node |
|||
var path = require('path') |
|||
var fs = require('fs'); |
|||
require(path.join(path.dirname(fs.realpathSync(__filename)), '../dist/index3')); |
@ -1,16 +1,17 @@ |
|||
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()], |
|||
plugins: [imba()], |
|||
build: { |
|||
lib: { |
|||
name: name, |
|||
fileName: "index", |
|||
entry: resolve(__dirname, 'src/main.imba'), |
|||
}, |
|||
entry: [resolve(__dirname, 'src/router_tag.imba'), |
|||
resolve(__dirname, 'src/vite-plugin.js'), |
|||
resolve(__dirname, 'bin/pro-router.imba')] |
|||
} |
|||
}, |
|||
}); |
Loading…
Reference in new issue