-
Notifications
You must be signed in to change notification settings - Fork 132
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 instructions for Webpack and node project setup #473
Conversation
Co-Authored-By: Jan Hrcek <honza.hrk@gmail.com>
added webpack config instructions and made corrections on other getting started docs
Also update to Dhall 1.27
* filter out files in .spago folder from watch list * add purescript#430 to changelog * Update src/Spago/Build.hs Co-Authored-By: Jan Hrcek <honza.hrk@gmail.com> * fix build by importing split directories * added step-by-step guide to setting up a spago + parcel project to documentation * cleanup * changelog
README.md
Outdated
|
||
12. To run a production build, you can simply run `npm run build` and to start a production process, call `npm start` | ||
|
||
For publishing CLI programs or npm modules, please refer to the npm documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be nice to add a link to the relevant sections of the documentation mentioned here so people don't risk getting lost
README.md
Outdated
@@ -710,7 +713,7 @@ To start a project using Spago and Parcel together, here's the cammands and file | |||
3. Move to the project folder: `cd <project folder name>` | |||
4. Create your PureScript project with Spago: `spago init`, This also produces a `./src/Main.purs` file which contains some starter code. | |||
5. Initialize the JavaScript/NPM project `npm init` | |||
6. Install Parcel as a dependency `npm i parcel` | |||
6. Install Parcel as a dependency `npm i parcel` (this is usually a dev dependancy, add the `--save-dev` flag to prevent installation in production or CI environments) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6. Install Parcel as a dependency `npm i parcel` (this is usually a dev dependancy, add the `--save-dev` flag to prevent installation in production or CI environments) | |
6. Install Parcel as a dependency `npm i --save-dev parcel` |
We can probably just give users the ready command without much explanation here
I believe each of these is now addressed, along with a few typos I caught. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Benjmhart! 👏
Description of the change
TODO
Checklist:
README
P.S.: the above checks are not compulsory to get a change merged, so you may skip them. However, taking care of them will result in less work for the maintainers and will be much appreciated 😊