Skip to content

Commit 880204a

Browse files
committed
chore: use standart output format of ESM
1 parent 4d2c3b1 commit 880204a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

framework-ts/yadan/index.ts

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
import * as egg from 'egg'
1+
import { BaseContextClass, Controller, EggApplication, Service } from 'egg'
22

33
import Agent from './lib/agent'
44
import Application from './lib/application'
55
import startCluster from './lib/cluster'
66

7-
const newEgg = {
8-
...egg,
7+
export {
98
Agent,
109
Application,
1110
startCluster,
11+
12+
BaseContextClass,
13+
Controller,
14+
EggApplication,
15+
Service,
1216
}
13-
export = newEgg

0 commit comments

Comments
 (0)