Skip to content

Commit

Permalink
yet another way
Browse files Browse the repository at this point in the history
  • Loading branch information
dai-shi committed Jun 8, 2023
1 parent e1e8bad commit 3ecce4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function createESMConfig(input, output) {
}
: {
'import.meta.env?.MODE':
'(!!import.meta.env && import.meta.env.MODE)',
'(import.meta.env ? import.meta.env.MODE : undefined)',
}),
delimiters: ['\\b', '\\b(?!(\\.|/))'],
preventAssignment: true,
Expand Down

0 comments on commit 3ecce4b

Please sign in to comment.