From 979a7460e6a4e112d45e0b20e9bf8c8ca22c967c Mon Sep 17 00:00:00 2001 From: Michelle Chen Date: Wed, 3 Jun 2020 12:22:40 -0400 Subject: [PATCH] update manual files removal steps --- gems/quilt_rails/README.md | 2 +- gems/quilt_rails/docs/FAQ.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gems/quilt_rails/README.md b/gems/quilt_rails/README.md index 641b415dae..bf3cf1d48b 100644 --- a/gems/quilt_rails/README.md +++ b/gems/quilt_rails/README.md @@ -36,7 +36,7 @@ When prompted, choose `rails`. This will generate a basic Rails application scaf Alternatively, you can use [`rails new .`](https://guides.rubyonrails.org/command_line.html#rails-new) to do the same. -In either case, remove [`webpacker`](./docs/FAQ.md#i-run-into-webpacker-issue-while-setting-up-quilt_rails) before continuing. +In either case, remove [`webpacker`](./docs/FAQ.md#i-run-into-webpacker-issue-while-setting-up-quilt_rails) and [these files](./docs/FAQ.md#any-other-files-i-should-remove-before-running-generator) that any create conflict before continuing. #### Add Ruby dependencies diff --git a/gems/quilt_rails/docs/FAQ.md b/gems/quilt_rails/docs/FAQ.md index 8be6d281a9..8b2f42174d 100644 --- a/gems/quilt_rails/docs/FAQ.md +++ b/gems/quilt_rails/docs/FAQ.md @@ -19,3 +19,7 @@ useQuery(MyQuery, { We suggest using webpack or [@shopify/sewing-kit](https://github.com/Shopify/sewing-kit) instead of webpacker with `quilt_rails` for JavaScript build. Remove webpacker by running `bundle remove webpacker` and remove any webpacker configuration files (`config/webpack` and `config/webpacker.yml`). + +### Any other files I should remove before running generator? + +Other files that often come with default rails scaffolding that can create conflict with `quilt_rails` setup included `.browserslistrc`, `postcss.config.js`, `babel.config.js` as well as `package.json` and `yarn.lock`.