Problem with environment variables and @snowpack/plugin-webpack #1011
Replies: 2 comments 2 replies
-
Thanks @ralphtheninja for reporting the issue. I was able to reproduce it. The I'll create an issue for prioritization. Next step would be to create a test in FYI: You are currently using snowpack 2.8.0 in your test app, currently the latest version is 2.10.1. Upgrading does not resolve the problem though. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that downgrading |
Beta Was this translation helpful? Give feedback.
-
Using environment variables like:
works great during development, but I run into problems when building out with
@snowpack/plugin-webpack
.I have put together a sample application that shows the problems here: https://github.com/ralphtheninja/snowpack-test
Any input is greatly appreciated. I thought it would be just enough to add the plugin, but maybe I'm missing some configuration?
Beta Was this translation helpful? Give feedback.
All reactions