mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 10:04:05 +00:00
46f858dd82
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
|
|
export default defineBuildConfig({
|
|
declaration: true,
|
|
emitCJS: false,
|
|
entries: [
|
|
'src/module',
|
|
{ input: 'src/runtime/', outDir: 'dist/runtime', format: 'esm', declaration: true }
|
|
],
|
|
externals: [
|
|
'webpack',
|
|
'vite'
|
|
]
|
|
})
|