diff options
author | EuAndreh <eu@euandre.org> | 2024-02-24 15:47:19 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-02-24 15:47:19 -0300 |
commit | d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc (patch) | |
tree | fdc89ddd55c375e9a4ac7021375bfbaf48d2c0e7 /src/bin.mjs | |
parent | src/hero.mjs: Add buildServer() (diff) | |
download | papod-d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc.tar.gz papod-d064f5ba5cc2fa592c0e7566560b05e9c4ed65dc.tar.xz |
Normalize how modules import and name each other
Also add a `defaultInterceptors` variable in `src/hero.mjs` to avoid
needing to redefine it in every application.
Diffstat (limited to 'src/bin.mjs')
-rwxr-xr-x | src/bin.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin.mjs b/src/bin.mjs index 5dbbb25..e79904f 100755 --- a/src/bin.mjs +++ b/src/bin.mjs @@ -1,4 +1,4 @@ #!/usr/bin/env node -import { main } from "./api.mjs"; +import * as api from "./api.mjs"; -main(); +api.main(); |