Skip to content

Commit

Permalink
fix(front): utilise with plutôt que assert pour charger un module JSON
Browse files Browse the repository at this point in the history
C'est la 'nouvelle' syntaxe.
  • Loading branch information
thom4parisot committed Jan 29, 2025
1 parent f48183d commit 0177e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fileURLToPath } from 'node:url'
import { defineConfig, loadEnv } from 'vite'
import { sentryVitePlugin } from '@sentry/vite-plugin'
import pkg from './package.json' assert { type: 'json' }
import pkg from './package.json' with { type: 'json' }
import react from '@vitejs/plugin-react'
import handlebars from 'vite-plugin-handlebars'
import graphql from '@rollup/plugin-graphql'
Expand Down

0 comments on commit 0177e8a

Please sign in to comment.