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

chore: improve package exports #527

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

ValentinH
Copy link
Owner

@ValentinH ValentinH commented Apr 3, 2024

This is an attempt to fix #490.

However, https://arethetypeswrong.github.io/ is still not fully happy about it. The problem is that we are using bili to build the library and it's not maintain anymore. Ideally, we need to migrate to a fully new setup to build this lib but I'm a bit lost at the moment (and I hate this topic!).

📦 Published PR as canary version: 5.0.7--canary.527.1aad632.0

✨ Test out this PR locally via:

npm install [email protected]
# or 
yarn add [email protected]

Copy link

codesandbox-ci bot commented Apr 3, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@ValentinH
Copy link
Owner Author

Hint: try https://github.com/egoist/tsup and follow https://www.totaltypescript.com/how-to-create-an-npm-package

However, IIRC, last time I tried tsup, I had issues with inlining the CSS into the lib.

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.

Cannot use import statement outside a module
2 participants