We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8674a62 + 648f223 commit b5a9bdbCopy full SHA for b5a9bdb
src/pre-local.ts
@@ -1,6 +1,7 @@
1
import { EsbuildPlugin } from '.';
2
export function preLocal(this: EsbuildPlugin) {
3
this.serviceDirPath = this.buildDirPath;
4
+ this.serverless.config.servicePath = this.buildDirPath;
5
// Set service path as CWD to allow accessing bundled files correctly
6
process.chdir(this.serviceDirPath);
7
}
0 commit comments