Skip to content

Commit

Permalink
rollup custom export conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Feb 11, 2024
1 parent 8b6a7c5 commit 02b1930
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export default {
},
plugins: [
json(),
nodeResolve(),
nodeResolve({
exportConditions: ['default', 'module', 'import', 'node']
}),
commonjs()
]
};

0 comments on commit 02b1930

Please sign in to comment.