aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/app
diff options
context:
space:
mode:
authorYuto SASAKI <yewton@users.noreply.github.com>2018-02-04 14:19:28 +0900
committerGitHub <noreply@github.com>2018-02-04 14:19:28 +0900
commit266994240dd976be24eb7c8a560a60b3cc010fd7 (patch)
tree0f27d6ae4c132fe404eebc5f4af47e62d230e52e /actionview/app
parent73d1f5f310e4dc3acb1ea502143d679f99931840 (diff)
downloadrails-266994240dd976be24eb7c8a560a60b3cc010fd7.tar.gz
rails-266994240dd976be24eb7c8a560a60b3cc010fd7.tar.bz2
rails-266994240dd976be24eb7c8a560a60b3cc010fd7.zip
Update rails-ujs readme
Add a note on using `yarn autoclean`.
Diffstat (limited to 'actionview/app')
-rw-r--r--actionview/app/assets/javascripts/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionview/app/assets/javascripts/README.md b/actionview/app/assets/javascripts/README.md
index 185dddc7e5..b74fa1afad 100644
--- a/actionview/app/assets/javascripts/README.md
+++ b/actionview/app/assets/javascripts/README.md
@@ -23,6 +23,8 @@ Note that the `data` attributes this library adds are a feature of HTML5. If you
yarn add rails-ujs
+Ensure that `.yarnclean` does not include `assets` if you use [yarn autoclean](https://yarnpkg.com/lang/en/docs/cli/autoclean/).
+
## Usage
### Asset pipeline