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
Install and use Rollup locally #2720
Comments
You can use this project as a starter https://github.com/rollup/rollup-starter-app Basically, |
What does BTW, I still believe that the Rollup docs should be updated !!! It's been almost an entire quarter of a year. Anyway I could help make a PR? |
Yes, please! At the moment, this project is solely maintained by people who work on it in their spare time. Helping with documentation is an easy way to contribute that makes a big difference and is very much appreciated! |
@mesqueeb npx searches for a node executable locally and if it can't find it tries to download it by default. In order to prevent it from downloading unwanted packages/versions via your project's scripts or if you happen to be outside of the correct npm directory for a moment it is a safety net to use --no-install to prevent automatic install Also if you are happy to make a PR I would be grateful, I am still really learning about how rollup actually works so I'm not sure I would be qualified for it :O |
hi everyone. I added the PR! see #2995 greatly appreciate your review 🐶 |
@ashubham and mentions down below another method: Can you please advise on how I should update my PR, since I originally used the info you gave me in this thread. I'd like to get this PR merged, because Rollup has had this written in the docs:
For several years, but still has 0 information on how to do this...... I'm sure a lot of newer developers need some extra help on this!!! |
* Add info how to install locally Fixes #2720 * typo 🦋 * change "./node_modules/.bin/rollup" with "rollup" 💎 * change `npm run` with `npx` 🙈 * docs: update verbiage and apply suggestions
Shellscape thanks so much. I can't wait until this goes live !!! |
@mesqueeb thank you for starting the PR! |
Documentation Is:
Please Explain in Detail...
The documentation says here:
However, I searched and searched and couldn't find anywhere in the documentation that explains how to do this! 😂
Your Proposal for Changes
Add a section on how to install and use rollup in a project locally.
Other
(PS: I'm also having a hard time finding how to do this on Google even! If anyone can help me out with some sweet advice, that would be great!! 🎯)
The text was updated successfully, but these errors were encountered: