You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,15 @@ Start by ensuring that you have Node.js installed and forking the repository:
13
13
- Fork the **webpack.js.org** repo from [the main repository][2].
14
14
-`git clone <your-clone-url> && cd webpack.js.org`
15
15
16
+
Some operations in the build process require a GitHub token. To create and export one:
17
+
18
+
- Go to [GitHub Personal Access Tokens](https://github.com/settings/personal-access-tokens) and generate a new token with the repo and workflow scopes.
19
+
- Export it in your terminal before running build or fetch commands:
20
+
16
21
Once you are in the project directory, run the following commands:
17
22
18
23
-`yarn` to pull all dependencies.
19
-
-`yarn build` to create a production version of the site.
24
+
-`export GITHUB_TOKEN=<your-token-here> yarn build` to create a production version of the site.
20
25
-`yarn start` to develop on a local webpack-dev-server: [localhost:3000][3].
21
26
22
27
> NOTE: run `yarn fetch-repos` and then `yarn fetch` before running `yarn start` command for the first time
0 commit comments