mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-01-19 20:25:01 +00:00
22 lines
477 B
TypeScript
22 lines
477 B
TypeScript
module.exports = {
|
|
output: "export",
|
|
distDir: process.env.NODE_ENV === "production" ? "./docs" : undefined,
|
|
basePath: "/t2-mapper",
|
|
assetPrefix: "/t2-mapper/",
|
|
trailingSlash: true,
|
|
async headers() {
|
|
return [
|
|
{
|
|
// TorqueScript files should be served as text
|
|
source: "/:path*.cs",
|
|
headers: [
|
|
{
|
|
key: "Content-Type",
|
|
value: "text/plain; charset=utf-8",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
};
|