From b276859ad3e2f57d0ad0078b4351b971ea4695f6 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Fri, 5 Jan 2024 20:49:55 +1100 Subject: [PATCH] chore: Use NodeNext resolution --- src/build/index.js | 2 +- tsconfig.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build/index.js b/src/build/index.js index e36e4d6..1493f88 100644 --- a/src/build/index.js +++ b/src/build/index.js @@ -6,7 +6,7 @@ import dts from 'vite-plugin-dts' import { defineConfig } from 'vite' /** - * @param {import('./index').Options} options + * @param {import('./index.js').Options} options * @returns {import('vite').UserConfig} */ export const tanstackBuildConfig = (options) => { diff --git a/tsconfig.json b/tsconfig.json index b9b514c..5d702f8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,8 +11,8 @@ "forceConsistentCasingInFileNames": true, "isolatedModules": true, "lib": ["ES2022"], - "module": "ES2020", - "moduleResolution": "Bundler", + "module": "NodeNext", + "moduleResolution": "NodeNext", "noEmit": true, "noImplicitAny": true, "noImplicitReturns": true,