Skip to content

Commit

Permalink
Fix typo in index.md (#5040)
Browse files Browse the repository at this point in the history
  • Loading branch information
vHeemstra authored Jun 18, 2023
1 parent 63b7125 commit 833314c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin-development/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ if (COMPILER_FLAG) {
}
```
If a plugin replaces `COMPLIER_FLAG` with `false`, then we will get an unexpected result: The unreferenced asset is still emitted but unused. We can resolve this problem by setting `needsCodeReference` to true when calling [`this.emitFile`](#this-emitfile), like in the following code:
If a plugin replaces `COMPILER_FLAG` with `false`, then we will get an unexpected result: The unreferenced asset is still emitted but unused. We can resolve this problem by setting `needsCodeReference` to true when calling [`this.emitFile`](#this-emitfile), like in the following code:
```js
function svgResolverPlugin() {
Expand Down

0 comments on commit 833314c

Please sign in to comment.