File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ class ServerlessWebpack {
2626 this . options = options ;
2727
2828 if (
29- ( _ . has ( this . serverless , 'service.custom.webpack' ) &&
30- _ . isString ( this . serverless . service . custom . webpack ) &&
31- _ . endsWith ( this . serverless . service . custom . webpack , '.ts' ) ) ||
32- ( _ . has ( this . serverless , 'service.custom.webpack.webpackConfig' ) &&
33- _ . endsWith ( this . serverless . service . custom . webpack . webpackConfig , '.ts' ) )
29+ (
30+ ( _ . has ( this . serverless , 'service.custom.webpack' ) &&
31+ _ . isString ( this . serverless . service . custom . webpack ) &&
32+ _ . endsWith ( this . serverless . service . custom . webpack , '.ts' ) ) ||
33+ ( _ . has ( this . serverless , 'service.custom.webpack.webpackConfig' ) &&
34+ _ . endsWith ( this . serverless . service . custom . webpack . webpackConfig , '.ts' ) )
35+ ) && ! process [ Symbol . for ( 'ts-node.register.instance' ) ]
3436 ) {
3537 try {
3638 require ( 'ts-node/register' ) ;
You can’t perform that action at this time.
0 commit comments