mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
feat: Allow built versions to specify an environment
- This should be hard coded at build time Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
e790757302
commit
625c421f3e
3 files changed
+17
No files matched your search
@@ -7,3 +7,5 @@ export { startApplicationInjectionToken } from "./src/start-application/start-ap
|
||||
|
||||
export { applicationInformationToken } from "./src/application-information-token.no-coverage";
|
||||
export type { ApplicationInformation } from "./src/application-information-token.no-coverage";
|
||||
|
||||
export { lensBuildEnvironmentInjectionToken } from "./src/environment-token";
|
||||
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import { getInjectionToken } from "@ogre-tools/injectable";
|
||||
|
||||
export const lensBuildEnvironmentInjectionToken = getInjectionToken<string>({
|
||||
id: "lens-build-environment-token",
|
||||
});
|
||||
Reference in new issue
Block a user