From b36bf480de09b8ed823a5d1c55aff69147b42110 Mon Sep 17 00:00:00 2001 From: Jonathan Persson Date: Tue, 3 May 2016 23:23:04 +0200 Subject: [PATCH] Replace "CommonJS models" with "CommonJS modules" in docs --- docs/guides/MinimizingBundleSize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/MinimizingBundleSize.md b/docs/guides/MinimizingBundleSize.md index eeecd988ca..5aae3daefc 100644 --- a/docs/guides/MinimizingBundleSize.md +++ b/docs/guides/MinimizingBundleSize.md @@ -2,7 +2,7 @@ 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. -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. +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. Assuming you are transpiling ES2015 modules into CommonJS modules, instead of: