Skip to content

Commit b150954

Browse files
chore: Use NodeNext instead of Bundler (#21)
1 parent 4739102 commit b150954

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/build/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import dts from 'vite-plugin-dts'
66
import { defineConfig } from 'vite'
77

88
/**
9-
* @param {import('./index').Options} options
9+
* @param {import('./index.js').Options} options
1010
* @returns {import('vite').UserConfig}
1111
*/
1212
export const tanstackBuildConfig = (options) => {

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"forceConsistentCasingInFileNames": true,
1212
"isolatedModules": true,
1313
"lib": ["ES2022"],
14-
"module": "ES2020",
15-
"moduleResolution": "Bundler",
14+
"module": "NodeNext",
15+
"moduleResolution": "NodeNext",
1616
"noEmit": true,
1717
"noImplicitAny": true,
1818
"noImplicitReturns": true,

0 commit comments

Comments
 (0)