forked from BabylonJS/Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnext.config.js
More file actions
25 lines (25 loc) · 737 Bytes
/
next.config.js
File metadata and controls
25 lines (25 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// next.config.js
// keeping comments for future deployment possibilities
const withMDX = require("@next/mdx")();
module.exports = withMDX({
output: "export",
sassOptions: {
includePaths: ["./styles"],
silenceDeprecations: ["legacy-js-api"],
},
staticPageGenerationTimeout: 400,
images: {
unoptimized: true,
},
trailingSlash: true,
assetPrefix: process.env.BASE_URL || "",
// async redirects() {
// return [
// {
// source: '/typedoc',
// destination: '/typedoc/modules/BABYLON', // Matched parameters can be used in the destination
// permanent: true,
// },
// ]
// },
});