UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

17 lines 609 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = require("@kui-shell/core"); const path_1 = require("path"); exports.default = () => { if (core_1.Capabilities.inBrowser()) { core_1.UI.injectCSS({ css: require('@kui-shell/plugin-wskflow/web/css/wskflow.css').toString(), key: 'wskflow' }); } else { const ourRoot = path_1.dirname(require.resolve('@kui-shell/plugin-wskflow/package.json')); core_1.UI.injectCSS(path_1.join(ourRoot, 'web/css/wskflow.css')); } }; //# sourceMappingURL=inject.js.map