Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

chore: bundling #1

Merged
merged 7 commits into from
Jul 18, 2022
Merged

chore: bundling #1

merged 7 commits into from
Jul 18, 2022

Conversation

cesara
Copy link
Contributor

@cesara cesara commented Jul 16, 2022

No description provided.

@cesara cesara requested review from aboodman, arv and grgbkr July 16, 2022 01:57
@cesara cesara marked this pull request as draft July 16, 2022 02:01
@cesara cesara changed the title chore: bundling chore: bundling - WIP Jul 16, 2022
Copy link
Contributor

@arv arv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I didn't look at the earlier commits in this repo but this PR in isolation looks good.

"out/*",
"!out/*.test.*"
],
"exports": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks right to me

@cesara cesara marked this pull request as ready for review July 18, 2022 16:59
@cesara cesara changed the title chore: bundling - WIP chore: bundling Jul 18, 2022
@cesara cesara merged commit 50c68f6 into main Jul 18, 2022
"next": ">=12.1.6",
"react-dom": ">=16.0 <18.0",
"replicache": ">=11.0.0",
"pg-mem": ">=2.5.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOC, why make pg-mem a peer dep?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this can be removed.

"types": "./out/frontend/index.d.ts",
"import": "./out/frontend/index.js"
},
"./out/backend/supabase": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this export for? I don't see it being used in the pending replicache-todo PR. I know that the frontend dir is pulling this in (kind of a hack), but I don't see why that would necessitate an export?

Copy link
Contributor Author

@cesara cesara Jul 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was having trouble getting next to ignore supabase backend dependencies for the frontend. However, I think this can be undone now now that everything is ESM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants