Skip to content

Commit

Permalink
Fix order of main fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Nov 22, 2024
1 parent 988312f commit 2f6dda9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vitest.base.unit.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
resolve: {
// Adding `deno` field is just for testing purpose.
// Vite validates the package.json and could not find `lib/index.js` in deno runtime
mainFields: ["deno", "main"],
mainFields: ["browser", "module", "jsnext:main", "jsnext", "deno", "main"],
},
test: {
include: ["**/*.test.ts"],
Expand Down

0 comments on commit 2f6dda9

Please sign in to comment.