feat: add headers & build-web script
This commit is contained in:
parent
73cebdfa83
commit
939b79b992
3 changed files with 6 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
tsp-output/*
|
||||
node_modules/*
|
||||
node_modules/*
|
||||
dist/*
|
||||
2
_headers
Normal file
2
_headers
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/*
|
||||
Content-Disposition: inline
|
||||
|
|
@ -8,6 +8,7 @@
|
|||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "rm -rf ./tsp-output && npx tsp compile ."
|
||||
"build": "rm -rf ./tsp-output && npx tsp compile .",
|
||||
"build-web": "npm run build && cp -r ./tsp-output/@typespec/json-schema ./dist && cp ./_headers ./dist"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue