@@ -131,11 +131,11 @@ the resulting JavaScript code by removing unused properties, functions, and clas
131
131
132
132
Unused declarations can appear in cases like:
133
133
134
- * A function is inlined and never gets called directly (which happens always except for a few situations ).
134
+ * A function is inlined and never gets called directly (which always happens except for a few cases ).
135
135
* A module uses a shared library. Without DCE, parts of the library that you don't use are still included in the resulting bundle.
136
136
For example, the Kotlin standard library contains functions for manipulating lists, arrays, char sequences,
137
137
adapters for DOM, and so on. All of this functionality would require about 1.3 MB as a JavaScript file. A simple
138
- "Hello, world" application only requires console routines, which is only few kilobytes for the entire file.
138
+ "Hello, world" application only requires console routines, which are only a few kilobytes for the entire file.
139
139
140
140
In the IR compiler, DCE is handled automatically:
141
141
@@ -148,7 +148,7 @@ In the IR compiler, DCE is handled automatically:
148
148
* ` compileDevelopmentLibraryKotlinJs `
149
149
* Other Gradle tasks including "development" in their name
150
150
151
- * DCE is enabled you build a _ production_ bundle, which corresponds to the following Gradle tasks:
151
+ * DCE is enabled if you build a _ production_ bundle, which corresponds to the following Gradle tasks:
152
152
153
153
* ` browserProductionRun `
154
154
* ` browserProductionWebpack `
0 commit comments