Commit de3f07a 1 parent e080b7a commit de3f07a Copy full SHA for de3f07a
File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ type PluginCommands = {
32
32
} ;
33
33
34
34
type ServerlessCustom = {
35
+ esbuild ?: any ;
35
36
react ?: PluginConfig ;
36
37
"serverless-offline" ?: {
37
38
location ?: string ;
@@ -189,9 +190,13 @@ class ServerlessReact {
189
190
"before:package:createDeploymentArtifacts" : async ( ) => {
190
191
this . log . verbose ( "before:package:createDeploymentArtifacts" ) ;
191
192
await this . build ( ) ;
192
- await this . copy (
193
- this . serverless . service . custom ?. [ "serverless-offline" ] ?. location
193
+ console . log (
194
+ "!!! this.serverless.service.custom.esbuild" ,
195
+ this . serverless . service . custom ?. esbuild
194
196
) ;
197
+ // await this.copy(
198
+ // this.serverless.service.custom?.["serverless-offline"]?.location
199
+ // );
195
200
} ,
196
201
"after:package:createDeploymentArtifacts" : async ( ) => {
197
202
this . log . verbose ( "after:package:createDeploymentArtifacts" ) ;
You can’t perform that action at this time.
0 commit comments