Skip to content

Commit bb39a65

Browse files
Fix grammar in general.md
Fix a small grammatical error in the file for improved readability.
1 parent a961225 commit bb39a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/general.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ A type helper for defining a Vue component with type inference.
183183
184184
### Note on webpack Treeshaking {#note-on-webpack-treeshaking}
185185
186-
Because `defineComponent()` is a function call, it could look like that it would produce side-effects to some build tools, e.g. webpack. This will prevent the component from being tree-shaken even when the component is never used.
186+
Because `defineComponent()` is a function call, it could look like it would produce side-effects to some build tools, e.g. webpack. This will prevent the component from being tree-shaken even when the component is never used.
187187
188188
To tell webpack that this function call is safe to be tree-shaken, you can add a `/*#__PURE__*/` comment notation before the function call:
189189

0 commit comments

Comments
 (0)