You need to have the dotenv
package cloned locally and point your gleam.toml
definition to the location. Run the following command to build the code:
gleam build
Run the following commands to test the code in each supported runtime:
node ./build/dev/javascript/dot_js_test/gleam.main.mjs
bun ./build/dev/javascript/dot_js_test/gleam.main.mjs
deno run --allow-read --allow-env ./build/dev/javascript/dot_js_test/gleam.main.mjs