mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
14 lines
279 B
TypeScript
14 lines
279 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'
|
|
]
|
|
})
|