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

Add info how to install locally #2995

Merged
merged 7 commits into from Aug 11, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/04-tutorial.md
Expand Up @@ -141,15 +141,16 @@ npm i -D rollup
Now you can run it inside the root folder of your project like so:

```console
./node_modules/.bin/rollup --config
npm run rollup --config
shellscape marked this conversation as resolved.
Show resolved Hide resolved
// OR yarn rollup --config
shellscape marked this conversation as resolved.
Show resolved Hide resolved
```

In this case it's best to just add this command as a script to your `package.json`:
In this case it's usually a good idea to also add a script to your `package.json`, so the whole team uses the correct build command:

```json
{
"scripts": {
"build": "./node_modules/.bin/rollup --config"
"build": "npm run rollup --config"
shellscape marked this conversation as resolved.
Show resolved Hide resolved
}
}
```
Expand Down