fix(core): Refactor plugin exports to improve modularity
This commit is contained in:
15
ts/index.ts
15
ts/index.ts
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user