diff --git a/src/all.ts b/src/all.ts new file mode 100644 index 0000000..aeeae04 --- /dev/null +++ b/src/all.ts @@ -0,0 +1,22 @@ +import { content } from './content'; +import { construction } from './construction'; +import { editor } from './editor'; +import { elections } from './election'; +import { finance } from './finance'; +import { health } from './health'; +import { logos } from './logos'; +import { programming } from './programming'; +import { socialMedia } from './socialMedia'; +import type { IMXIcon } from './common/icon'; + +export const all: IMXIcon[] = [ + ...content, + ...construction, + ...editor, + ...elections, + ...finance, + ...health, + ...logos, + ...programming, + ...socialMedia, +]; diff --git a/src/index.ts b/src/index.ts index 3973280..fa9e6e0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,12 +1,3 @@ -import { content } from './content'; -import { construction } from './construction'; -import { editor } from './editor'; -import { elections } from './election'; -import { finance } from './finance'; -import { health } from './health'; -import { logos } from './logos'; -import { programming } from './programming'; -import { socialMedia } from './socialMedia'; import type { IMXIcon } from './common/icon'; export * from './content'; @@ -19,17 +10,7 @@ export * from './logos'; export * from './programming'; export * from './socialMedia'; +export { all } from './all'; + export { IconCategory, IconCategoryEnum } from './common/icon'; export type { IMXIcon }; - -export const all: IMXIcon[] = [ - ...content, - ...construction, - ...editor, - ...elections, - ...finance, - ...health, - ...logos, - ...programming, - ...socialMedia, -];