-
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 a "getting started with Parcel" to docs #456
Comments
I'll take a run at this one since I've set up projects to do this |
and webpack? trying to use the generated index.js with webpack, leading to "Cannot assign to read only property 'exports' of object '#'" |
@swuecho - currently the guide is for parcel, however I might have some time to add steps to configure for webpack and nodemon (for server-side projects) at some point. |
Fixed in #461 |
@f-f Actually I think I'll add a guide for nodemon and (possibly) webpack as well. I'll see if I can get a PR up in a reasonable amount of time. |
@Benjmhart purescript/purescript#3613 the module format make it not so easy to work with webpack. |
@swuecho - I'm writing webpack docs today. if you can work with parcel you can work with webpack. |
@swuecho - there is a PR up relating to your request:#473 you can also look at the docs in my fork to see how to get a webpack development server up and running with Spago and Purescript: https://github.com/Benjmhart/spago |
@Benjmhart Thanks. I did not know there is I was expected that I can import the js output directly in js code. |
@swuecho - you can definitely use a webpack in the way you describe, with spago producing an output in js and webpack bundling the JS as a dependancy, however webpack should really be your end-to-end development bundler, with spago being used more for managing dependancies in that workflow. |
We have a "getting started" guide in the docs, but that's quite minimal. Leon on Slack noted how we could have a slightly more detailed "getting started with Parcel" to show how one could get a JS project to build with Spago + Parcel:
The text was updated successfully, but these errors were encountered: