Skip to content

Commit

Permalink
Mention import removal
Browse files Browse the repository at this point in the history
  • Loading branch information
askoufis committed Oct 10, 2024
1 parent 112b61c commit c0ce1d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/extra-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ someProdOnlyFunction();
```

The first `if` block is removed entirely as its condition is always `false`.
This allows the `someDevOnlyFunction` import to be removed as well.
The second `if` block is removed, however the contents of the block are kept as its condition is always `true`.

[nodeEnv optimization]: https://webpack.js.org/configuration/optimization/#optimizationnodeenv
Expand Down

0 comments on commit c0ce1d9

Please sign in to comment.