Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome extension experiments #177

Closed
wants to merge 4 commits into from
Closed

Conversation

hult
Copy link
Contributor

@hult hult commented Apr 18, 2023

Trying to import and bundle polarkit in the Chrome extension.

Learnings:

  • Importing something depending on Next is going to be hard
  • Typescript hasn't been able to process package.json exports directives outside of node, but in 5.0, there's moduleResolution: "bundler": Support package.json exports outside of Node microsoft/TypeScript#50794
  • Next probably does some magic to be able to access process.env client-side
  • Other than that, it seems to work

@hult hult closed this Apr 24, 2023
@hult hult deleted the hult/chrome-extension-experiments branch April 24, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant