Skip to content

Commit c1dcf15

Browse files
committed
fix: vite.config.ts에 vanillaExtractPlugin() 추가
1 parent 9f1d2de commit c1dcf15

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import Home from "@pages/home/home";
2-
31
function App() {
42
return (
53
<div></div>

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { defineConfig } from "vite";
22
import react from "@vitejs/plugin-react-swc";
33
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
4-
import react from "@vitejs/plugin-react-swc";
54
import svgr from "vite-plugin-svgr";
65
import path from "path";
76

87
// https://vite.dev/config/
98
export default defineConfig({
109
plugins: [
1110
react(),
11+
vanillaExtractPlugin(),
1212
svgr({
1313
svgrOptions: {
1414
ref: true, // JavaScript로 SVG 직접 접근 가능(useRef 등)

0 commit comments

Comments
 (0)