---
title: "#dotenvx articles | Hashnode"
description: "Explore 1 articles tagged #dotenvx on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/dotenvx"
---

Tag

# #dotenvx

1 posts · 0 followers

[The Anh Nguyen](https://hashnode.com/@ntheanh201) · [Aug 26, 2024](https://hashnode.com/posts/handling-environment-variables-when-deploying-a-static-site-with-npm-scripts-and-cloudflare-pages/66cc781687d7e2221e6dc9bc)

### [Handling environment variables when Deploying a Static Site with NPM Scripts and Cloudflare Pages](https://ntheanh201.hashnode.dev/handling-environment-variables-when-deploying-a-static-site-with-npm-scripts-and-cloudflare-pages?utm_source=hashnode&utm_medium=feed)

Problem When deploying a static site with NPM scripts that utilize bash commands and environment variables inside package.json scripts, you might define something like: "scripts": { "transpile-js": ". .env; for file in "\\${JS\_FILES\[@\]}"; do(b...

1 min read · [ntheanh201.hashnode.dev](https://ntheanh201.hashnode.dev/handling-environment-variables-when-deploying-a-static-site-with-npm-scripts-and-cloudflare-pages?utm_source=hashnode&utm_medium=feed)
