Skip to content

Commit

Permalink
[docs] Update Vite sample code.
Browse files Browse the repository at this point in the history
Even Vite 3 still seems to have issues: vitejs/vite#9062 (comment)
  • Loading branch information
lgarron committed Jul 18, 2022
1 parent ae6b384 commit 09673f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cubing/index.html
Expand Up @@ -134,7 +134,7 @@ <h3>Known Issues</h3>
<p><a href="https://vitejs.dev/">Vite</a> 3 does not support full ES2020 by default. Use the following config:</p>
<code class="sample">
// vite.config.js<br>
export default {build: {target: "es2020"}};
export default { optimizeDeps: { esbuildOptions: { target: "es2020" } } };
</code>
</section>

Expand Down

0 comments on commit 09673f9

Please sign in to comment.