mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
14 lines
502 B
TypeScript
14 lines
502 B
TypeScript
import { createContainer } from "@ogre-tools/injectable";
|
|
import { execInjectable } from "./exec.injectable";
|
|
import { doWebpackBuildInjectable } from "./do-webpack-build";
|
|
import { logSuccessInjectable } from "./log-success.injectable";
|
|
import { logWarningInjectable } from "./log-warning.injectable";
|
|
|
|
export const getDi = () => {
|
|
const di = createContainer("do-webpack-build");
|
|
|
|
di.register(execInjectable, doWebpackBuildInjectable, logSuccessInjectable, logWarningInjectable);
|
|
|
|
return di;
|
|
};
|