Merge pull request #43153 from rahul100885/webpacker_doc
Fix typo [ci skip]
This commit is contained in:
commit
26ef62f229
@ -128,7 +128,7 @@ app/javascript:
|
||||
|
||||
Typically, the pack file itself is largely a manifest that uses `import` or `require` to load the necessary files and may also do some initialization.
|
||||
|
||||
If you want to change these directories, you can adjust the `source_path` (default `app/javascript`) and `source_entry_path` (default `packs`) in the `configuration/webpacker.yml` file.
|
||||
If you want to change these directories, you can adjust the `source_path` (default `app/javascript`) and `source_entry_path` (default `packs`) in the `config/webpacker.yml` file.
|
||||
|
||||
Within source files, `import` statements are resolved relative to the file doing the import, so `import Bar from "./foo"` finds a `foo.js` file in the same directory as the current file, while `import Bar from "../src/foo"` finds a file in a sibling directory named `src`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user