Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 0cc49e2

Browse files
committed
build(nuxi): add node to export conditions
1 parent e0c5907 commit 0cc49e2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/nuxi/build.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ import { defineBuildConfig } from 'unbuild'
33
export default defineBuildConfig({
44
declaration: true,
55
rollup: {
6-
inlineDependencies: true
6+
inlineDependencies: true,
7+
resolve: {
8+
exportConditions: ['production', 'node'] as any
9+
}
710
},
811
entries: [
912
'src/cli',

0 commit comments

Comments
 (0)