Commit beb13e9 1 parent 0848039 commit beb13e9 Copy full SHA for beb13e9
File tree 2 files changed +12
-12
lines changed
2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ const nextConfig = {
26
26
// `placeholder="empty"` to all <ExportedImage> components.
27
27
nextImageExportOptimizer_generateAndUseBlurImages : false ,
28
28
} ,
29
+ webpack : ( config ) => {
30
+ config . module . rules . push ( {
31
+ test : / \. y a ? m l / ,
32
+ use : "js-yaml-loader" ,
33
+ } ) ;
34
+
35
+ return config ;
36
+ } ,
29
37
} ;
30
38
31
39
const withMDX = require ( "@next/mdx" ) ( ) ;
Original file line number Diff line number Diff line change 1
1
// @ts -expect-error TODO
2
- // eslint-disable-next-line import/no-unresolved,import/no-webpack-loader-syntax
3
- import importProjects from "js-yaml-loader!./../data/projects.yml" ;
2
+ import importProjects from "../data/projects.yml" ;
4
3
// @ts -expect-error TODO
5
- // eslint-disable-next-line import/no-unresolved,import/no-webpack-loader-syntax
6
- import importNews from "js-yaml-loader!./../data/news.yml" ;
4
+ import importNews from "../data/news.yml" ;
7
5
// @ts -expect-error TODO
8
- // eslint-disable-next-line import/no-unresolved,import/no-webpack-loader-syntax
9
- import importMemberships from "js-yaml-loader!./../data/memberships.yml" ;
6
+ import importMemberships from "../data/memberships.yml" ;
10
7
import { Text } from "../components/01_atoms/Text" ;
11
8
import { HeroSection } from "../components/03_organisms/heroSection/HeroSection" ;
12
9
import s from "./page.module.scss" ;
@@ -90,12 +87,7 @@ const Home: React.FC = () => {
90
87
</ Carousel >
91
88
</ Section >
92
89
< Section id = "documentation" className = { s . documentation } >
93
- < Heading
94
- theme = "dark"
95
- align = "center"
96
- size = "x-large"
97
- className = { s . headline }
98
- >
90
+ < Heading theme = "dark" align = "center" size = "x-large" >
99
91
Documentation
100
92
</ Heading >
101
93
< Textblock className = { s . text } >
You can’t perform that action at this time.
0 commit comments