Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Dec 19, 2024
1 parent 5856689 commit 58662cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/core/src/cli/mf.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createRsbuild, mergeRsbuildConfig } from '@rsbuild/core';
import type { RsbuildConfig, RsbuildInstance } from '@rsbuild/core';
import merge from 'node_modules/@rsbuild/core/compiled/webpack-merge';
import { composeCreateRsbuildConfig } from '../config';
import type { RslibConfig } from '../types';
import { onBeforeRestart } from './restart';
Expand Down Expand Up @@ -40,8 +39,7 @@ async function initMFRsbuild(
),
},
});
console.log('rslibConfig.server: ', rslibConfig.server);
console.log('mfRsbuildConfig.config.server: ', mfRsbuildConfig.config.server);

const devServer = await rsbuildInstance.startDevServer();

onBeforeRestart(devServer.server.close);
Expand Down

0 comments on commit 58662cc

Please sign in to comment.