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

[Feature]: supports custom mainField #29

Open
hardfist opened this issue Dec 29, 2021 · 0 comments
Open

[Feature]: supports custom mainField #29

hardfist opened this issue Dec 29, 2021 · 0 comments

Comments

@hardfist
Copy link

I know it's kind of out of scope, but it would be really nice if tsm could supports custom mainField, then we can do something like this.

  • xxx-lib/package.json
{
  "source": "src/index.ts",
  "main": "dist/index.js",
  "types": "dist/index.d.ts"
}

we could use tsm to load the xxx-lib source file without compile it to js in monorepo.

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

1 participant