Skip to content
Snippets Groups Projects
Select Git revision
  • 137154f25d1d42ad57cd64e0ed847bc86ed23315
  • master default protected
  • maj-readme
  • update-budget-msg-2022
  • share-with-metadata
  • explications-resultats-macros-PLF2022
  • plf_fix
  • benoit-cty-master-patch-87290
  • activate-plf-2021
  • stats
  • switch-plf
  • carto
  • adapt-matomo
  • js-to-ts
  • nbre-part-logic
  • add-nbre-part
  • 1.0.0
17 results

index.tsx

Blame
  • vite.config.js 546 B
    import { sveltekit } from "@sveltejs/kit/vite"
    
    /** @type {import('vite').UserConfig} */
    const config = {
      build: {
        // Increase size of chunks to 5 MB, to be able to import
        // JSON files extracted from OpenFisca country package.
        chunkSizeWarningLimit: 7680,
      },
      optimizeDeps: {
        // See https://svelte-modals.mattjennings.io/
        // and https://github.com/sveltejs/vite-plugin-svelte/issues/124.
        exclude: ["svelte-modals"],
      },
      plugins: [sveltekit()],
      ssr: {
        noExternal: ["d3-scale"],
      },
    }
    
    export default config