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

Set up package build script #3

Closed
ds300 opened this issue Jan 20, 2023 · 1 comment
Closed

Set up package build script #3

ds300 opened this issue Jan 20, 2023 · 1 comment
Assignees

Comments

@ds300
Copy link
Contributor

ds300 commented Jan 20, 2023

TSC with multiple targets

  • esm
  • cjs
  • bundle?

inlcude src dir but not test files

include .d.ts

what do other similar projects output? preact/signals? jotai? recoil?

for our monorepo we probably want to install directly from github to get "main": "src/index.ts" working nicely, but no big deal if we consume the package directly since source mapping is not super valuable for tlstate code.

@ds300 ds300 added this to the Publish to npm milestone Jan 20, 2023
@steveruizok
Copy link
Contributor

Currently building esm and cjs. The core lib only has one dependency (a lodash fn) so I think bundling that would be okay?

@ds300 ds300 self-assigned this Feb 23, 2023
@ds300 ds300 closed this as completed Feb 23, 2023
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

No branches or pull requests

2 participants