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

feat: support for publishConfig scope #20

Open
hairyf opened this issue May 25, 2023 · 0 comments
Open

feat: support for publishConfig scope #20

hairyf opened this issue May 25, 2023 · 0 comments

Comments

@hairyf
Copy link

hairyf commented May 25, 2023

We hope to directly introduce index.ts in development mode, like this

{
  "main": "src/index.ts",
  "publishConfig": {
     "main": "dist/<package-name>.cjs.js",
     "module": "dist/<package-name>.esm.js",
   }
}

refer to: https://pnpm.io/package_json#publishconfig

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