We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86ae85 commit a66502fCopy full SHA for a66502f
next.config.js
@@ -5,13 +5,24 @@ const path = require('path'); // eslint-disable-line @typescript-eslint/no-var-r
5
const nextConfig = {
6
output: 'export',
7
reactStrictMode: true,
8
+
9
+ // GitHub pages
10
+ rewrites: () => [
11
+ {
12
+ source: '/website',
13
+ destination: '/',
14
+ },
15
+ ],
16
17
compiler: {
18
// Enables the styled-components SWC transform
19
styledComponents: true,
20
},
21
22
images: {
23
unoptimized: true,
24
25
26
webpack(config) {
27
config.module.rules.push({
28
test: /\.svg$/,
0 commit comments