react-easy-crop icon indicating copy to clipboard operation
react-easy-crop copied to clipboard

chore: improve package exports

Open ValentinH opened this issue 1 year ago • 2 comments

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

:sparkles: Test out this PR locally via:

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

ValentinH avatar Apr 03 '24 21:04 ValentinH

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.

codesandbox-ci[bot] avatar Apr 03 '24 21:04 codesandbox-ci[bot]

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.

ValentinH avatar Aug 26 '24 09:08 ValentinH