diff --git a/docs/cubing/index.html b/docs/cubing/index.html index a51e15e32..e4612921f 100644 --- a/docs/cubing/index.html +++ b/docs/cubing/index.html @@ -131,10 +131,10 @@
npm
package should work with any modern bundlers and tools. If you are having trouble, make sure your tool is compatible with ES2020 syntax. We recommend using esbuild
or tools based on esbuild
, and you may find this project template a helpful start.
Vite 3 does not support full ES2020 by default. Use the following config:
+Vite does not support full ES2020 by default. Use the following config:
// vite.config.js
-export default {build: {target: "es2020"}};
+export default { optimizeDeps: { esbuildOptions: { target: "es2020" } } };