Skip to content

Commit a670600

Browse files
authored
Docs typo fix (#156)
Very minor typo fix `JavasScript` → `JavaScript`
1 parent b105031 commit a670600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/comparison_with_webpacker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Here are some considerations between the two:
2020
`jsbundling-rails` still relies on `sprockets` to output the final `public` assets and create the associated manifest.
2121
`webpacker`'s complete control over the resulting webpack output files allow it to integrate additional features like automatic [code splitting](https://webpack.js.org/guides/code-splitting/). Webpack provides advanced optimization to split your statically `import`ed shared dependencies. The `webpacker`/`shakapacker` view helpers will automatically specify each entry point's dependent chunks for you in the resulting HTML.
2222
With `jsbundling-rails`, you'll be able to manually split out lazy-loaded chunks by using dynamic `import()`s. However, the manual approach would be challenging to maintain on a large project.
23-
Why is this important? Code splitting allows the browser to download only the JavasScript and CSS needed for a page, improving performance and SEO.
23+
Why is this important? Code splitting allows the browser to download only the JavaScript and CSS needed for a page, improving performance and SEO.

0 commit comments

Comments
 (0)