anastasis-core: cli entry point
This commit is contained in:
parent
2139cfd707
commit
dc1fce2277
15
packages/anastasis-core/src/cli-entry.ts
Normal file
15
packages/anastasis-core/src/cli-entry.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { reducerCliMain } from "./cli.js";
|
||||
|
||||
async function r() {
|
||||
try {
|
||||
// @ts-ignore
|
||||
(await import("source-map-support")).install();
|
||||
} catch (e) {
|
||||
console.warn("can't load souremaps, please install source-map-support");
|
||||
// Do nothing.
|
||||
}
|
||||
|
||||
reducerCliMain();
|
||||
}
|
||||
|
||||
r();
|
Loading…
Reference in New Issue
Block a user