-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use standart output format of ESM
- Loading branch information
1 parent
4d2c3b1
commit 880204a
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |