Skip to content

Commit de3f07a

Browse files
committed
log esbuild
1 parent e080b7a commit de3f07a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/index.ts

+7-2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ type PluginCommands = {
3232
};
3333

3434
type ServerlessCustom = {
35+
esbuild?: any;
3536
react?: PluginConfig;
3637
"serverless-offline"?: {
3738
location?: string;
@@ -189,9 +190,13 @@ class ServerlessReact {
189190
"before:package:createDeploymentArtifacts": async () => {
190191
this.log.verbose("before:package:createDeploymentArtifacts");
191192
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
194196
);
197+
// await this.copy(
198+
// this.serverless.service.custom?.["serverless-offline"]?.location
199+
// );
195200
},
196201
"after:package:createDeploymentArtifacts": async () => {
197202
this.log.verbose("after:package:createDeploymentArtifacts");

0 commit comments

Comments
 (0)