Spaces:
Running
Running
gpt-engineer-app[bot]
commited on
Commit
·
37d9a67
1
Parent(s):
6decbb1
Fix: vite.config.ts type error
Browse filesThe `vite.config.ts` file contained a type error related to the `yaml` plugin's options. This commit addresses the error.
- vite.config.ts +2 -2
vite.config.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import { defineConfig } from "vite";
|
| 2 |
import react from "@vitejs/plugin-react-swc";
|
| 3 |
import path from "path";
|
|
@@ -15,8 +16,7 @@ export default defineConfig(({ mode }) => ({
|
|
| 15 |
mode === 'development' &&
|
| 16 |
componentTagger(),
|
| 17 |
yaml({
|
| 18 |
-
include: 'src/data/**/*.yml'
|
| 19 |
-
stringify: true,
|
| 20 |
}),
|
| 21 |
].filter(Boolean),
|
| 22 |
resolve: {
|
|
|
|
| 1 |
+
|
| 2 |
import { defineConfig } from "vite";
|
| 3 |
import react from "@vitejs/plugin-react-swc";
|
| 4 |
import path from "path";
|
|
|
|
| 16 |
mode === 'development' &&
|
| 17 |
componentTagger(),
|
| 18 |
yaml({
|
| 19 |
+
include: 'src/data/**/*.yml'
|
|
|
|
| 20 |
}),
|
| 21 |
].filter(Boolean),
|
| 22 |
resolve: {
|