From bec96c800d97479de97a5a4edb73c981cea75b7b Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Thu, 21 Sep 2023 15:47:11 +0330 Subject: [PATCH] Add reference to swc demo branch --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index ddfe6bf..90c8bd4 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,17 @@ bin/dev-static overmind start -f Procfile.dev-static ``` +## Running with SWC + +Starting from Shakapacker 6.1.1, it is possible to use SWC in projects. +See +[tomdracz/swc-config](https://github.com/shakacode/react_on_rails_demo_ssr_hmr/tree/tomdracz/swc-config) +branch for a demonstration of SWC usage. + +Please check out +[Shakapacker - Using SWC Loader](https://github.com/shakacode/shakapacker/blob/master/docs/using_swc_loader.md) +documentation for more information about this feature. + ## Testing Functionality of SSR and HMR 1. Start app using either `bin/dev` or `bin/dev-static` (or run `Procfile.dev` or `Procfile.dev-static` with your favorit process manager like overmind or foreman).