File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 1-
21import type { NextConfig } from 'next' ;
32
4-
53const nextConfig : NextConfig = {
64 // TurboPack 설정
75 experimental : {
86 turbo : {
97 rules : {
10- '.svg' : {
8+ '* .svg' : {
119 loaders : [ '@svgr/webpack' ] ,
12- as : '.js' ,
10+ as : '* .js' ,
1311 } ,
1412 } ,
1513 } ,
@@ -22,11 +20,11 @@ const nextConfig: NextConfig = {
2220 config . module . rules . push (
2321 {
2422 ...fileLoaderRule ,
25- test : / .s v g $ / i,
23+ test : / \ .s v g $ / i,
2624 resourceQuery : / u r l / ,
2725 } ,
2826 {
29- test : / .s v g $ / i,
27+ test : / \ .s v g $ / i,
3028 issuer : fileLoaderRule . issuer ,
3129 resourceQuery : { not : [ ...fileLoaderRule . resourceQuery . not , / u r l / ] } ,
3230 use : [
@@ -40,9 +38,9 @@ const nextConfig: NextConfig = {
4038 ] ,
4139 }
4240 ) ;
43- fileLoaderRule . exclude = / .s v g $ / i;
41+ fileLoaderRule . exclude = / \ .s v g $ / i;
4442 return config ;
4543 } ,
4644} ;
47-
45+
4846export default nextConfig ;
Original file line number Diff line number Diff line change @@ -134,6 +134,10 @@ function Page() {
134134 />
135135 </ div >
136136 </ div >
137+
138+ < div className = "space-y-3" >
139+ < h2 className = "text-2xl font-semibold pb-1" > Button</ h2 >
140+ </ div >
137141 </ div >
138142 ) ;
139143}
Original file line number Diff line number Diff line change 11function like ( ) {
2- return (
3- < div > like</ div >
4- )
2+ return < div > like</ div > ;
53}
6- export default like
4+ export default like ;
You can’t perform that action at this time.
0 commit comments