Add ESModule support

This commit is contained in:
Fabian Stamm
2020-08-26 11:55:57 +02:00
parent f34800d725
commit b92caf6468
9 changed files with 251 additions and 236 deletions

View File

@ -1,11 +1,11 @@
import { LoggingBase } from "./base";
export { ConsoleAdapter } from "./consolewriter";
import { LoggingBase } from "./base.js";
export { ConsoleAdapter } from "./consolewriter.js";
export {
LoggingBase,
LoggingBaseOptions,
removeColors,
withColor,
} from "./base";
} from "./base.js";
export {
Adapter,
LoggingTypes,
@ -18,7 +18,7 @@ export {
Format,
FormatTypes,
TerminalFormats,
} from "./types";
} from "./types.js";
export { ObservableInterface } from "@hibas123/utils";