@virtualstate/app-history
Version:
Native JavaScript [app-history](https://github.com/WICG/app-history) implementation
16 lines • 374 B
JavaScript
/* c8 ignore start */
import process from "./node-process.js";
export function getConfig() {
return {
...getNodeConfig(),
};
}
function getNodeConfig() {
if (typeof process === "undefined")
return {};
return {
FLAGS: process.env.FLAGS,
...JSON.parse(process.env.TEST_CONFIG ?? "{}")
};
}
//# sourceMappingURL=config.js.map