Add transpileOnly=true to ts-loader/webpack to reduce build-demo script time by ~40%.

This commit is contained in:
David Anson 2021-11-13 12:40:51 -08:00
parent eaa8d0f15e
commit 8e22c009fd
2 changed files with 47 additions and 46 deletions

View file

@ -22,7 +22,8 @@ function config(options) {
{
"loader": "ts-loader",
"options": {
"configFile": "../demo/tsconfig.json"
"configFile": "../demo/tsconfig.json",
"transpileOnly": true
}
}
]