@cocalc/static
Version:
CoCalc's static frontend Webpack-based build system and framework
14 lines • 825 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
// Load the custom manifest for our site, which is necessary so that we can
// install the page as a local webapp. It's part of being a "progressive
// web app", as was started in this PR: https://github.com/sagemathinc/cocalc/pull/5254
const react_helmet_1 = require("react-helmet");
const path_1 = require("path");
const app_base_path_1 = require("@cocalc/frontend/customize/app-base-path");
function Primus() {
return ((0, jsx_runtime_1.jsx)(react_helmet_1.Helmet, { children: (0, jsx_runtime_1.jsx)("script", { async: true, type: "text/javascript", src: (0, path_1.join)(app_base_path_1.appBasePath, "primus.min.js") }) }));
}
exports.default = Primus;
//# sourceMappingURL=primus.js.map