mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-04-27 23:35:51 +00:00
add TorqueScript transpiler and runtime
This commit is contained in:
parent
c8391a1056
commit
7d10fb7dee
49 changed files with 12324 additions and 2075 deletions
|
|
@ -4,4 +4,18 @@ module.exports = {
|
|||
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",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue