mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 02:44:51 +00:00
01bee2f0ea
Co-authored-by: "yangjian.fe" <yangjian.fe@bytedance.com> Co-authored-by: underfin <likui6666666@gmail.com>
19 lines
334 B
TypeScript
19 lines
334 B
TypeScript
import { defineBuildConfig } from 'unbuild'
|
|
import config from '../webpack/build.config'
|
|
|
|
export default defineBuildConfig({
|
|
...config[0],
|
|
externals: [
|
|
'@rspack/core',
|
|
'#builder',
|
|
'@nuxt/schema',
|
|
],
|
|
entries: [
|
|
{
|
|
input: '../webpack/src/index',
|
|
name: 'index',
|
|
declaration: true,
|
|
},
|
|
],
|
|
})
|