@beesolve/cdk-constructs 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -182,7 +182,8 @@ import {
|
|
|
182
182
|
} from "aws-cdk-lib/aws-logs";
|
|
183
183
|
import { buildSync } from "esbuild";
|
|
184
184
|
import { execSync } from "node:child_process";
|
|
185
|
-
|
|
185
|
+
import { resolve } from "node:path";
|
|
186
|
+
import { cwd } from "node:process";
|
|
186
187
|
|
|
187
188
|
class Nodejs24Function extends Function {
|
|
188
189
|
constructor(scope, id, props) {
|
|
@@ -198,7 +199,7 @@ class Nodejs24Function extends Function {
|
|
|
198
199
|
revision = true,
|
|
199
200
|
...rest
|
|
200
201
|
} = props;
|
|
201
|
-
const outDir = `${
|
|
202
|
+
const outDir = resolve(`${cwd()}/cdk.out/bundling.${id}.beesolve-nodejs.${Date.now()}`);
|
|
202
203
|
const buildResult = buildSync({
|
|
203
204
|
entryPoints: [entry],
|
|
204
205
|
banner: {
|