We are trying to use “llamaindex”: “^0.6.2”, in Meteor 3. While building, we get the error:
[ERROR] Big integer literals are not available in the configured target environment (“chrome87”, “edge88”, “es2020”, “firefox78”, “safari13” + 2 overrides).
It appears to be that the target environments listed are too old.
In a similar sounding [reactjs - How to solve error "Big integer literals are not available in the configured target environment" on vite? - Stack Overflow](https://stack overflow), I found this suggestion for vite options, but when I include them in vite.config.js I see no difference.
Anyone know how I can fix this?
optimizeDeps: { // 👈 optimizedeps
esbuildOptions: {
target: "esnext",
// Node.js global to browser globalThis
define: {
global: 'globalThis'
},
supported: {
bigint: true
},
}
},
build: {
target: ["esnext"], // 👈 build.target
},