Skip to content

Commit 5ac4e29

Browse files
committed
fix: including missing files in js bundle
1 parent 009a594 commit 5ac4e29

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.projen/tasks.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
1818
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
1919
// packageName: undefined, /* The "name" in package.json. */
2020
});
21+
project.postCompileTask.exec('rm -rf ./lib/db-migrate-function');
22+
project.postCompileTask.exec('cp -r ./src/db-migrate-function ./lib');
23+
project.postCompileTask.exec('rm -rf ./lib/db-migrate-function/node_modules');
2124
project.synth();

0 commit comments

Comments
 (0)