mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
build(nuxi): add node
to export conditions
This commit is contained in:
parent
e0c5907f0a
commit
0cc49e2a20
@ -3,7 +3,10 @@ import { defineBuildConfig } from 'unbuild'
|
|||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
declaration: true,
|
declaration: true,
|
||||||
rollup: {
|
rollup: {
|
||||||
inlineDependencies: true
|
inlineDependencies: true,
|
||||||
|
resolve: {
|
||||||
|
exportConditions: ['production', 'node'] as any
|
||||||
|
}
|
||||||
},
|
},
|
||||||
entries: [
|
entries: [
|
||||||
'src/cli',
|
'src/cli',
|
||||||
|
Loading…
Reference in New Issue
Block a user