Merge pull request #3555 from h3poteto/speedup/main-build

Specify transpileOnly to speed up build time for main
This commit is contained in:
AkiraFukushima 2022-08-15 20:58:04 +09:00 committed by GitHub
commit 34b14b5806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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$/,