diff --git a/.gitignore b/.gitignore index 872d890..ecc9ee9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ app-ts-tw app-fr app-fr-tw my-app -.DS_Store \ No newline at end of file +.DS_Store + +.vscode \ No newline at end of file diff --git a/templates/base/vite.config.js.ejs b/templates/base/vite.config.js.ejs index a8ad684..c8495e1 100644 --- a/templates/base/vite.config.js.ejs +++ b/templates/base/vite.config.js.ejs @@ -7,7 +7,7 @@ import { TanStackRouterVite } from "@tanstack/router-plugin/vite"; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [<% if(fileRouter) { %>TanStackRouterVite(), <% } %>viteReact()<% if (tailwind) { %>, tailwindcss()<% } %>], + plugins: [<% if(fileRouter) { %>TanStackRouterVite({ autoCodeSplitting: true }), <% } %>viteReact()<% if (tailwind) { %>, tailwindcss()<% } %>], test: { globals: true, environment: "jsdom",