Skip to content

How to mock import.meta.env? #1606

Answered by sheremet-va
koenwoortman asked this question in Q&A
Discussion options

You must be logged in to vote
import.meta.env.MODE = 'X'

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@koenwoortman
Comment options

@sheremet-va
Comment options

@sheremet-va
Comment options

@koenwoortman
Comment options

Answer selected by Demivan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants