fix(core): Refactor plugin exports to improve modularity

This commit is contained in:
2024-10-02 15:45:45 +02:00
parent 16fd982c57
commit cc934a9c0e
5 changed files with 293 additions and 553 deletions

View File

@@ -9,19 +9,8 @@ export { DomTools, type IDomToolsContructorOptions } from './domtools.classes.do
export { TypedRequest } from '@api.global/typedrequest';
export { type IWebSetupConstructorOptions } from '@push.rocks/websetup';
import * as allPlugins from './domtools.plugins.js';
export const plugins = {
smartdelay: allPlugins.smartdelay,
smartmarkdown: allPlugins.smartmarkdown,
smartpromise: allPlugins.smartpromise,
SweetScroll: allPlugins.SweetScroll,
smartstate: allPlugins.smartstate,
smartrx: allPlugins.smartrx,
smartstring: allPlugins.smartstring,
smarturl: allPlugins.smarturl,
typedrequest: allPlugins.typedrequest,
};
import * as plugins from './domtools.pluginexports.js';
export { plugins };
// type exports
import type { rxjs } from '@push.rocks/smartrx';