@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
23 lines (22 loc) • 449 B
JavaScript
//#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