mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix code block in Webpacker Guide [ci skip]
Formatting fix: the example directory tree listing was bleeding into the previous paragraph and had extraneous characters due to a missing newline.
This commit is contained in:
parent
af9c910db7
commit
a15b230fff
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ require("channels")
|
|||
You'll need to include a pack that requires these packages to use them in your Rails application.
|
||||
|
||||
It is important to note that only webpack entry files should be placed in the `app/javascript/packs` directory; webpack will create a separate dependency graph for each entry point so a large number of packs will increase compilation overhead. The rest of your asset source code should live outside this directory though Webpacker does not place any restrictions or make any suggestions on how to structure your source code. Here is an example:
|
||||
|
||||
```sh
|
||||
app/javascript:
|
||||
├── packs:
|
||||
|
|
Loading…
Reference in a new issue