mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
21 lines
399 B
JavaScript
21 lines
399 B
JavaScript
const { resolve } = require('node:path')
|
|
|
|
module.exports = {
|
|
build: {
|
|
outDir: './dist',
|
|
manifest: true,
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, './index.html'),
|
|
other: resolve(__dirname, './other.js')
|
|
},
|
|
treeshake: false,
|
|
output: {
|
|
format: 'cjs',
|
|
freeze: false,
|
|
externalLiveBindings: false
|
|
}
|
|
}
|
|
}
|
|
}
|