Merge pull request #3555 from h3poteto/speedup/main-build
Specify transpileOnly to speed up build time for main
This commit is contained in:
commit
34b14b5806
|
@ -19,7 +19,14 @@ let mainConfig = {
|
|||
{
|
||||
test: /\.ts$/,
|
||||
exclude: /node_modules/,
|
||||
loader: 'ts-loader'
|
||||
use: [
|
||||
{
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
transpileOnly: true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
|
|
Loading…
Reference in New Issue