Nuxt/packages/rspack/build.config.ts

19 lines
334 B
TypeScript
Raw Permalink Normal View History

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,
},
],
})