mirror of
https://github.com/iconify/collections-json.git
synced 2024-11-22 04:25:11 +00:00
chore: we no longer expose internals
This commit is contained in:
parent
43e8825531
commit
d389d11f93
@ -393,7 +393,7 @@ const dir = resolve(_dirname, '..')
|
||||
*
|
||||
* @returns {string}
|
||||
*/
|
||||
export const rootDir = () => dir
|
||||
const rootDir = () => dir
|
||||
|
||||
/**
|
||||
* Locate JSON file
|
||||
@ -401,7 +401,7 @@ export const rootDir = () => dir
|
||||
* @param {string} name Collection name
|
||||
* @returns {string} Path to collection json file
|
||||
*/
|
||||
export const locate = (name: string): PathLike => `${dir}/json/${name}.json`
|
||||
const locate = (name: string): PathLike => `${dir}/json/${name}.json`
|
||||
|
||||
/**
|
||||
* Loads a collection.
|
||||
|
Loading…
Reference in New Issue
Block a user