mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-05-05 05:47:10 -04:00
Update vite.config.ts
This commit is contained in:
parent
c59ad6aedb
commit
d8a9e7d543
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@ import { ssr } from 'vite-plugin-ssr/plugin';
|
||||||
const baseUrl = process.env.BASE_URL ?? '/';
|
const baseUrl = process.env.BASE_URL ?? '/';
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig(
|
||||||
|
{
|
||||||
|
server: {
|
||||||
|
hmr: process.env.NODE_ENV !== 'production'
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
VueI18n({
|
VueI18n({
|
||||||
runtimeOnly: true,
|
runtimeOnly: true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue