set explicit comparisions for feature envvars so js can properly optimize

This commit is contained in:
Aaron Qian 2022-11-11 17:44:02 -08:00 committed by Aaron Qian
parent cd2914ca9c
commit a18f4c3b8d
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
7 changed files with 17 additions and 13 deletions

View file

@ -1,3 +1,3 @@
if (process.env.FEATURE_FLOWCHART_MERMAID) {
if (process.env.FEATURE_FLOWCHART_MERMAID === '1') {
import('./mermaid');
}