Skip to content

Commit

Permalink
🎨 prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kuitos committed Oct 26, 2020
1 parent be05818 commit 650298c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/slave/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ import { Options } from '../types';
const localIpAddress = process.env.USE_REMOTE_IP ? address.ip() : 'localhost';

export default function(api: IApi, options: Options) {
const { registerRuntimeKeyInIndex = false, keepOriginalRoutes = false, shouldNotModifyRuntimePublicPath = false, shouldNotModifyDefaultBase = false } =
options || {};
const {
registerRuntimeKeyInIndex = false,
keepOriginalRoutes = false,
shouldNotModifyRuntimePublicPath = false,
shouldNotModifyDefaultBase = false,
} = options || {};
api.addRuntimePlugin(require.resolve('./runtimePlugin'));
if (!registerRuntimeKeyInIndex) {
api.addRuntimePluginKey('qiankun');
Expand Down

0 comments on commit 650298c

Please sign in to comment.