@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
25 lines (23 loc) • 509 B
JavaScript
import { NodeType, formatNodeType } from "@intlayer/types";
//#region src/transpiler/file/fileBrowser.ts
/**
* Function intended to be used to build intlayer dictionaries.
*
* Allow identify the usage of an external resource.
*
* Usage:
*
* ```ts
* file('/path/to/file.md') // absolute path
*
* // or
*
* file('path/to/file.md') // relative path
* ```
*/
const file = (path) => {
throw new Error("file is not available in browser");
};
//#endregion
export { file };
//# sourceMappingURL=fileBrowser.mjs.map