Skip to content

Commit

Permalink
build(nuxi): add node to export conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 8, 2022
1 parent 6e16f76 commit 7b355e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/nuxi/build.config.ts
Expand Up @@ -3,7 +3,10 @@ import { defineBuildConfig } from 'unbuild'
export default defineBuildConfig({
declaration: true,
rollup: {
inlineDependencies: true
inlineDependencies: true,
resolve: {
exportConditions: ['production', 'node'] as any
}
},
entries: [
'src/cli',
Expand Down

0 comments on commit 7b355e6

Please sign in to comment.