From bb39a6572e7a2b1995003f4fcbf75e6a5bfafd1c Mon Sep 17 00:00:00 2001 From: Tyler McDonald <100496212+tyler-mcdonald@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:30:04 -0500 Subject: [PATCH] Fix grammar in general.md Fix a small grammatical error in the file for improved readability. --- src/api/general.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/general.md b/src/api/general.md index 53897b8108..507238b68b 100644 --- a/src/api/general.md +++ b/src/api/general.md @@ -183,7 +183,7 @@ A type helper for defining a Vue component with type inference. ### Note on webpack Treeshaking {#note-on-webpack-treeshaking} - 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. + 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. To tell webpack that this function call is safe to be tree-shaken, you can add a `/*#__PURE__*/` comment notation before the function call: