Skip to content

Commit 3182098

Browse files
authored
Correcting --download option docs (#54)
I deleted `, to "path` from examples as by default they are not needed.
1 parent 44e8754 commit 3182098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ Pinning "object-assign" to vendor/object-assign.js via download from https://ga.
123123
This will produce pins in your `config/importmap.rb` like so:
124124

125125
```ruby
126-
pin "react", to: "vendor/react.js" # https://ga.jspm.io/npm:react@17.0.2/index.js
127-
pin "object-assign", to: "vendor/object-assign.js" # https://ga.jspm.io/npm:object-assign@4.1.1/index.js
126+
pin "react" # https://ga.jspm.io/npm:react@17.0.2/index.js
127+
pin "object-assign" # https://ga.jspm.io/npm:object-assign@4.1.1/index.js
128128
```
129129

130-
The packages are downloaded to `app/javascript/vendor`, which you can check into your source control, and they'll be available through your application's own asset pipeline serving.
130+
The packages are downloaded to `vendor/javascript`, which you can check into your source control, and they'll be available through your application's own asset pipeline serving.
131131

132132
If you later wish to remove a downloaded pin, you again pass `--download`:
133133

0 commit comments

Comments
 (0)