@frontity/core
Version:
The core package of the Frontity framework.
12 lines (11 loc) • 394 B
TypeScript
declare const _default: (pkg: string, mode: string) => string;
/**
* Create a valid variable name out of a package name and a mode.
*
* @param pkg - The package name, like for example `@frontity/mars-theme`.
* @param mode - The mode, like for example `default` or `amp`.
*
* @returns A valid variable name that can be used to create the entry point
* files.
*/
export default _default;