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.

22 lines
461 B

import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
rollup: {
emitCJS: true,
cjsBridge: true
},
// If entries is not provided, will be automatically inferred from package.json
entries: [
// default
{
input: './entry/index',
}
],
// emitCJS: true,
// cjsBridge: true,
// Change outDir, default is 'dist'
outDir: 'dist',
declaration: true
})