# ENV variables for motoko builds

**URL:** <https://forum.dfinity.org/t/env-variables-for-motoko-builds/11640>\
**Category:** Language Support\
**Created:** [March 22, 2022, 9:09pm UTC](https://forum.dfinity.org/t/env-variables-for-motoko-builds/11640 "2022-03-22T21:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![paulyoung](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/paulyoung/32/5251_2.png) [@paulyoung](https://forum.dfinity.org/u/paulyoung)\
**Post date:** [March 30, 2022, 8:00am UTC](https://forum.dfinity.org/t/env-variables-for-motoko-builds/11640/21 "2022-03-30T08:00:04Z")

</div>

I’m not sure what you have in mind, but the equivalent of `npx webpack --env production` could be:

1. Create `production/lib.mo` and `development/lib.mo`
2. Call `moc --package env production` or `moc --package env development`

---

_[View the full topic](https://forum.dfinity.org/t/env-variables-for-motoko-builds/11640)._
