UNPKG

@cocalc/static

Version:

CoCalc's static frontend Webpack-based build system and framework

8 lines (6 loc) 294 B
import { join } from "path"; import { appBasePath } from "@cocalc/frontend/customize/app-base-path"; // See https://webpack.js.org/guides/public-path/ // and it's pretty cool this is supported!! declare var __webpack_public_path__: any; __webpack_public_path__ = join(appBasePath, "static/");