Specify transpileOnly to speed up build time for main

This commit is contained in:
AkiraFukushima 2022-08-14 01:37:20 +09:00
parent 49b939e4f6
commit dbb9560639
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,14 @@ let mainConfig = {
{
test: /\.ts$/,
exclude: /node_modules/,
loader: 'ts-loader'
use: [
{
loader: 'ts-loader',
options: {
transpileOnly: true
}
}
]
},
{
test: /\.js$/,