-
Hi there, I've been using webpack previously, and in webpack we can substitute Thanks :D |
Beta Was this translation helpful? Give feedback.
Answered by
buhrmi
Mar 2, 2021
Replies: 2 comments
-
Okay, I was able to answer my own question: // vite.config.js
import replace from '@rollup/plugin-replace';
export default {
plugins: [
replace({
'process.env': import.meta.env
})
]
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
buhrmi
-
Hi there, Thanks :D |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Okay, I was able to answer my own question: