You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to include an analytics script ONLY in production. I want to use a .posthtmlrc file and not a .posthtmlrc.js file to take advantage of all the caching. If parcel could inject process.env into the locals of posthtml-expression I would be very pleased :)
馃 Expected Behavior
I want to be able to use process.env in my index.html file
Maybe I should take this up with posthtml. If so, don't mind me. Thanks! Love parcel and use it extensively for new sideprojects like valentineroulette.com
The text was updated successfully, but these errors were encountered:
馃檵 feature request
I'm trying to include an analytics script ONLY in production. I want to use a
.posthtmlrc
file and not a.posthtmlrc.js
file to take advantage of all the caching. If parcel could inject process.env into the locals ofposthtml-expression
I would be very pleased :)馃 Expected Behavior
I want to be able to use process.env in my index.html file
馃槸 Current Behavior
My current setup is:
馃拋 Possible Solution
Auto-inject process.env into index.html so I can do:
Maybe I should take this up with posthtml. If so, don't mind me. Thanks! Love parcel and use it extensively for new sideprojects like valentineroulette.com
The text was updated successfully, but these errors were encountered: