Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
leximpact-socio-fiscal-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
Simulateur socio-fiscal
leximpact-socio-fiscal-ui
Commits
bfc6d77f
Commit
bfc6d77f
authored
7 months ago
by
Emmanuel Raviart
Browse files
Options
Downloads
Patches
Plain Diff
Use defineConfig
parent
12bf7e31
No related branches found
No related tags found
1 merge request
!266
Upgrade packages & caculate dates from years
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vite.config.ts
+3
-5
3 additions, 5 deletions
vite.config.ts
with
3 additions
and
5 deletions
vite.config.ts
+
3
−
5
View file @
bfc6d77f
import
{
sveltekit
}
from
"
@sveltejs/kit/vite
"
import
yaml
from
"
js-yaml
"
import
type
{
User
Config
}
from
"
vite
"
import
{
define
Config
}
from
"
vite
"
// import yamlPlugin from "@rollup/plugin-yaml"
import
yamlPlugin
from
"
./plugin-yaml-patched
"
const
config
:
User
Config
=
{
export
default
define
Config
(
{
build
:
{
// Increase size of chunks to 5 MB, to be able to import
// JSON files extracted from OpenFisca country package.
...
...
@@ -25,6 +25,4 @@ const config: UserConfig = {
ssr
:
{
noExternal
:
[
"
d3-scale
"
],
},
}
export
default
config
})
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment