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

Use bin as an entry point #3713

Open
mischnic opened this issue Oct 31, 2019 · 1 comment
Open

Use bin as an entry point #3713

mischnic opened this issue Oct 31, 2019 · 1 comment

Comments

@mischnic
Copy link
Member

🙋 feature request

Treat the bin field/object like main and bundle it.

💻 Examples

"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/parcel-bundler/parcel.git"
},
"bin": "src/bin.js",
"dependencies": {
"@parcel/config-default": "^2.0.0-alpha.2.1",

@devongovett
Copy link
Member

Ah, that's a good idea! We should also support multiple bin scripts when it's an object. Can automatically treat it as a node entry point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants