Skip to content

fix(v6, serverless): use named exports instead of default#8857

Merged
jtoar merged 1 commit intomainfrom
ds-v6/fix-packing/nft-exports
Jul 8, 2023
Merged

fix(v6, serverless): use named exports instead of default#8857
jtoar merged 1 commit intomainfrom
ds-v6/fix-packing/nft-exports

Conversation

@jtoar
Copy link
Copy Markdown
Contributor

@jtoar jtoar commented Jul 8, 2023

The packing/nft helper kind of mixes named exports with default exports and it ends up confusing build tools. It looks like we want named exports, so I just refactored it to that. This was causing yarn rw deploy serverless --pack-only to fail in deploy target CI (see https://github.com/redwoodjs/deploy-target-ci/actions/runs/5482609165/jobs/9988107090). Bug was introduced in #8456.

@jtoar jtoar added the release:fix This PR is a fix label Jul 8, 2023
@jtoar jtoar added this to the v6.0.0 milestone Jul 8, 2023
@jtoar jtoar merged commit 4642046 into main Jul 8, 2023
@jtoar jtoar deleted the ds-v6/fix-packing/nft-exports branch July 8, 2023 01:12
jtoar added a commit that referenced this pull request Jul 9, 2023
The packing/nft helper kind of mixes named exports with default exports
and it ends up confusing build tools. It looks like we want named
exports, so I just refactored it to that. This was causing `yarn rw
deploy serverless --pack-only` to fail in deploy target CI (see
https://github.com/redwoodjs/deploy-target-ci/actions/runs/5482609165/jobs/9988107090).
Bug was introduced in #8456.
@jtoar jtoar modified the milestones: v6.0.0, next-release-patch, v5.4.3 Jul 9, 2023
jtoar added a commit that referenced this pull request Jul 9, 2023
The packing/nft helper kind of mixes named exports with default exports
and it ends up confusing build tools. It looks like we want named
exports, so I just refactored it to that. This was causing `yarn rw
deploy serverless --pack-only` to fail in deploy target CI (see
https://github.com/redwoodjs/deploy-target-ci/actions/runs/5482609165/jobs/9988107090).
Bug was introduced in #8456.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:fix This PR is a fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant