BREAKING CHANGE(core): switch to esm
This commit is contained in:
@ -1,26 +1,17 @@
|
||||
// node native
|
||||
import * as os from 'os';
|
||||
|
||||
export {
|
||||
os
|
||||
}
|
||||
export { os };
|
||||
|
||||
// pushrocks scope
|
||||
import * as smartdelay from '@pushrocks/smartdelay';
|
||||
import * as smartlog from '@pushrocks/smartlog';
|
||||
|
||||
export {
|
||||
smartdelay,
|
||||
smartlog
|
||||
}
|
||||
export { smartdelay, smartlog };
|
||||
|
||||
// third party scope
|
||||
import pidusage from 'pidusage';
|
||||
import pidtree from 'pidtree';
|
||||
import * as promClient from 'prom-client';
|
||||
|
||||
export {
|
||||
pidusage,
|
||||
pidtree,
|
||||
promClient
|
||||
}
|
||||
export { pidusage, pidtree, promClient };
|
||||
|
Reference in New Issue
Block a user