mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- Remove need for using relative paths during build Signed-off-by: Sebastian Malton <sebastian@malton.name>
9 lines
293 B
TypeScript
9 lines
293 B
TypeScript
import { getInjectable } from "@ogre-tools/injectable";
|
|
import { nodeEnvInjectionToken } from "@k8slens/core/renderer";
|
|
|
|
export const nodeEnvInjectable = getInjectable({
|
|
id: "node-env",
|
|
instantiate: () => process.env.NODE_ENV || "development",
|
|
injectionToken: nodeEnvInjectionToken,
|
|
});
|