refactor: use --env CLI arg (#2204)
This change replaces the use of the Standard Library's `dotenv.load()` with the native `--env` CLI flag. The benefits include: * One less dependency * More obvious consumption of the `.env` file in the CLI output
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
"lock": false,
|
||||
"nodeModulesDir": true,
|
||||
"tasks": {
|
||||
"start": "deno run -A --watch=static/,routes/,../src,../docs dev.ts",
|
||||
"start": "deno run -A --watch=static/,routes/,../src,../docs --env dev.ts",
|
||||
"build": "deno run -A dev.ts build",
|
||||
"preview": "deno run -A main.ts"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user