Really appreciate the fixes you've made in the last hours 👍
However, there seems to be an issue with the tree shaking I assume.
Importing from
import { getDiscordSecrets } from "discord-bot-cdk-construct";
results in a 13 MB big lambda file.
Changing the import to
import { getDiscordSecrets } from "discord-bot-cdk-construct/dist/functions/utils/DiscordSecrets";
workarounds the problem.
I've noticed your oculus-start-bot still relies on a local version of the function, too, so this might went under your radar.
Really appreciate the fixes you've made in the last hours 👍
However, there seems to be an issue with the tree shaking I assume.
Importing from
import { getDiscordSecrets } from "discord-bot-cdk-construct";results in a 13 MB big lambda file.
Changing the import to
import { getDiscordSecrets } from "discord-bot-cdk-construct/dist/functions/utils/DiscordSecrets";workarounds the problem.
I've noticed your oculus-start-bot still relies on a local version of the function, too, so this might went under your radar.