Skip to content

Commit ecf90e9

Browse files
committed
fix: svgr config and index.html location
1 parent 7ce7be7 commit ecf90e9

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.parcelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/index.html renamed to index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
</head>
99
<body>
1010
<div id="app"></div>
11-
<script type="module" src="App.tsx"></script>
11+
<script type="module" src="/src/App.tsx"></script>
1212
</body>
1313
</html>

vite.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ export default defineConfig({
99
name: "Kleros-UI-Components",
1010
},
1111
},
12-
plugins: [svgr()],
12+
plugins: [
13+
svgr({
14+
include: "**/*.svg",
15+
}),
16+
],
1317
});

0 commit comments

Comments
 (0)