nestjs / docs.nestjs.com

The official documentation https://docs.nestjs.com 📕
MIT License
1.18k stars 1.69k forks source link

add Rspack section in Hot reload documentation #2896

Open hardfist opened 10 months ago

hardfist commented 10 months ago

Is there an existing issue that is already proposing this?

Is your feature request related to a problem? Please describe it

We(Rspack team) receives lots of issues and questions about how to use Rspack bundle Nest application and support Hot Reload, even we have a section about Nest in our website(https://www.rspack.dev/guide/nestjs.html), I think it maybe helpful Nest documentation have a Rspack section about it too.

Describe the solution you'd like

add a Rspack section in Nest documentation

Teachability, documentation, adoption, migration strategy

similar to current webpack section

What is the motivation / use case for changing the behavior?

No Change

Tony133 commented 10 months ago

Personally, instead of adding a section, I would add a notice with a link to the rspack, so as to avoid having too many third party documents to maintain.

Or add something like this in the section regarding hot-reload:

Third-party libraries
  - Rspack (link to Rspack documentation)
hardfist commented 10 months ago

Personally, instead of adding a section, I would add a notice with a link to the rspack, so as to avoid having too many third party documents to maintain.

Or add something like this in the section regarding hot-reload:

Third-party libraries
  - Rspack (link to Rspack documentation)

that sounds good to me

Tony133 commented 10 months ago

@hardfist do you want to create a PR for this issue ?

hardfist commented 10 months ago

yes

jojohanhannesnes commented 1 month ago

Hi @hardfist @Tony133 ,

It looks like the link provided (https://www.rspack.dev/guide/nestjs.html) is no longer available. Do you know if the content has been moved to a different location?

Also, I’m finding the current guide (https://rspack.org/guide/tech/nestjs) a bit challenging for newcomers like me who just started using rspack. Could you recommend any other resources or documentation that might be more beginner-friendly, particularly for integrating Rspack with NestJS?

Thanks!

hardfist commented 1 month ago

Hi @hardfist @Tony133 ,

It looks like the link provided (rspack.dev/guide/nestjs.html) is no longer available. Do you know if the content has been moved to a different location?

Also, I’m finding the current guide (rspack.org/guide/tech/nestjs) a bit challenging for newcomers like me who just started using rspack. Could you recommend any other resources or documentation that might be more beginner-friendly, particularly for integrating Rspack with NestJS?

Thanks!

https://rspack.dev/guide/tech/nestjs it's moved here

jojohanhannesnes commented 1 month ago

I also opened an issue recently there: https://github.com/rspack-contrib/rspack-examples/issues/110.

Do you think having some knowledge of Webpack or similar tools is necessary for this integration? I come from a backend background, and I'm finding it a bit difficult to follow the docs.