This is the source code for the website. Note that the actual guide is now part of the main rollup repo and needs to be updated there, see below.
npm installnpm run update-guidenpm run devThe guide is part of the main rollup repo, which again is added to this repo in form of a submodule. Running npm run update-guide should automatically initialize the submodule and copy the latest guide into a local folder. To update the guide contents:
cd rollup-submodule
git checkout master
git pull
cd ..
git add rollup-submodule
git commit -m "Update guide"
Steps 2 and 3 should be done by the person merging the pull request in the main rollup repo. Once the commit has been pushed to origin/master, the website should be updated by the CI automatically. If necessary instead of checking out latest master, it is also possible to check out any other commit to e.g. test a pull request.
- for bulleted list items.Besides via shares containing the shareable= parameter generated by the REPL itself, the REPL can also pre-loaded from a Github gist. To do that
gist=<gist-id> parameter to the URL, e.g. rollupjs.org/repl/?gist=e9c6c04b8f96adc562a70c096c3e7705main.js file, this will be used as the first module in the REPL, otherwise an empty main.js file will be createdentry=<comma-separated list of entry points> parameter, e.g. rollupjs.org/repl/?gist=e9c6c04b8f96adc562a70c096c3e7705&entry=lower.js,upper.jsWe use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.