-
Notifications
You must be signed in to change notification settings - Fork 0
Config_File
Tricked edited this page Oct 15, 2021
·
1 revision
{
"load_env": "boolean",
"import_map": "boolean",
"name": "string",
"scripts": "Object of strings",
"dependencies": "Object of strings",
"watcher": {
"directory": "string",
"clear": "string"
}
}
load env uses the rust dotenv package to load the .env variables in the current directory.
Diplo will automatically create a .diplo
directory with a import_map.json
file inside diplo will also append --import-map=.diplo/import_map.json
to deno run making the import map automatically load.
the import_map.json
is generated from to dependencies specified in the diplo.json
.
- https://deno.land/manual/npm_nodejs/import_maps
- https://deno.land/manual/linking_to_external_code/import_maps
Name of the project this is not necessary
Configuration options for the --watch feature in diplo
- Clear, Clears the screen on every restart