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

Issue #365 - Added option to override package manager. #427

Closed
wants to merge 12 commits into from
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ To debug the node server, you can use `razzle start --inspect`. This will start
- [Linux, macOS (Bash)](#linux-macos-bash)
- [Adding Environment Variables In `.env`](#adding-environment-variables-in-env)
- [What other `.env` files are can be used?](#what-other-env-files-are-can-be-used)
- [create-razzle-app cli options](#create-razzle-app-cli-options)
- [How Razzle works (the secret sauce)](#how-razzle-works-the-secret-sauce)
- [Inspiration](#inspiration)
- [Author](#author)
Expand Down Expand Up @@ -197,6 +198,13 @@ Please refer to the [dotenv documentation](https://github.com/motdotla/dotenv) f
>Note: If you are defining environment variables for development, your CI and/or hosting platform will most likely need
these defined as well. Consult their documentation how to do this. For example, see the documentation for [Travis CI](https://docs.travis-ci.com/user/environment-variables/) or [Heroku](https://devcenter.heroku.com/articles/config-vars).


### create-razzle-app cli options

Command|Info|Valid values
--- | --- | ---
`-p --packageManager`|Override package manager, default to yarn.|`npm`, `yarn`

## How Razzle works (the secret sauce)

**tl;dr**: 2 configs, 2 ports, 2 webpack instances, both watching and hot reloading the same filesystem, in parallel during development and a little `webpack.output.publicPath` magic.
Expand Down
Loading