Skip to content

Commit eb927a9

Browse files
authored
test: use rspack to replace webpack for the test case (#7150)
1 parent 2e6ea60 commit eb927a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration/pure-esm-project/modern.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { appTools, defineConfig } from '@modern-js/app-tools';
22
import { bffPlugin } from '@modern-js/plugin-bff';
33
import { koaPlugin } from '@modern-js/plugin-koa';
4+
import { applyBaseConfig } from '../../utils/applyBaseConfig';
45

56
// https://modernjs.dev/docs/apis/app/config
6-
export default defineConfig({
7+
export default applyBaseConfig({
78
bff: {
89
enableHandleWeb: true,
910
},
@@ -21,5 +22,5 @@ export default defineConfig({
2122
output: {
2223
disableTsChecker: true,
2324
},
24-
plugins: [appTools({}), bffPlugin(), koaPlugin()],
25+
plugins: [bffPlugin(), koaPlugin()],
2526
});

0 commit comments

Comments
 (0)