Skip to content

Commit d987db2

Browse files
committed
Merge pull request #3428 from jonathanp/patch-1
Replace "CommonJS models" with "CommonJS modules" in docs
2 parents 1139893 + b36bf48 commit d987db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/MinimizingBundleSize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
For convenience, React Router exposes its full API on the top-level `react-router` import. However, this causes the entire React Router library and its dependencies to be included in client bundles that include code that imports from the top-level CommonJS bundle.
44

5-
Instead, the bindings exported from `react-router` are also available in `react-router/lib`. When using CommonJS models, you can import directly from `react-router/lib` to avoid pulling in unused modules.
5+
Instead, the bindings exported from `react-router` are also available in `react-router/lib`. When using CommonJS modules, you can import directly from `react-router/lib` to avoid pulling in unused modules.
66

77
Assuming you are transpiling ES2015 modules into CommonJS modules, instead of:
88

0 commit comments

Comments
 (0)