-
Hello! Trying to use BigInt, it works good during development, but when I'm trying to build it I have got this error:
My config: // app.config.ts
import tailwindcss from "@tailwindcss/vite";
import { defineConfig } from "@tanstack/react-start/config";
import type { PluginOption } from "vite";
import svgr from "vite-plugin-svgr";
import tsConfigPaths from "vite-tsconfig-paths";
export default defineConfig({
vite: {
plugins: [
tailwindcss(),
svgr(),
tsConfigPaths({
projects: ["./tsconfig.json"],
}),
] as PluginOption[],
},
}); |
Beta Was this translation helpful? Give feedback.
Answered by
w7it
Feb 26, 2025
Replies: 1 comment
-
Fixed by changing the constant |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
w7it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed by changing the constant
0n
->BigInt(0)