@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
25 lines (23 loc) • 504 B
JavaScript
let __intlayer_types = require("@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
exports.file = file;
//# sourceMappingURL=fileBrowser.cjs.map