Skip to content

Commit

Permalink
chore: use standart output format of ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Apr 29, 2018
1 parent 4d2c3b1 commit 880204a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions framework-ts/yadan/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import * as egg from 'egg'
import { BaseContextClass, Controller, EggApplication, Service } from 'egg'

import Agent from './lib/agent'
import Application from './lib/application'
import startCluster from './lib/cluster'

const newEgg = {
...egg,
export {
Agent,
Application,
startCluster,

BaseContextClass,
Controller,
EggApplication,
Service,
}
export = newEgg

0 comments on commit 880204a

Please sign in to comment.