We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d34f4 commit e562620Copy full SHA for e562620
src/build/index.js
@@ -27,8 +27,7 @@ export const tanstackBuildConfig = (options) => {
27
exclude: options.exclude,
28
tsconfigPath: options.tsconfigPath,
29
compilerOptions: {
30
- // @ts-expect-error
31
- module: 'esnext',
+ module: 99, // ESNext
32
declarationMap: false,
33
},
34
beforeWriteFile: (filePath, content) => {
@@ -47,8 +46,7 @@ export const tanstackBuildConfig = (options) => {
47
46
48
49
50
51
- module: 'commonjs',
+ module: 1, // CommonJS
52
53
54
0 commit comments