diff --git a/packages/fes-plugin-qiankun/examples/vite-main/.fes.js b/packages/fes-plugin-qiankun/examples/vite-main/.fes.js index 9f5d1000..d5d77e2b 100644 --- a/packages/fes-plugin-qiankun/examples/vite-main/.fes.js +++ b/packages/fes-plugin-qiankun/examples/vite-main/.fes.js @@ -35,10 +35,12 @@ export default { } }, plugins: [ - require.resolve('../../../fes-build-vite/lib'), require.resolve('../../../fes-plugin-model/lib'), require.resolve('../../../fes-plugin-layout/lib'), require.resolve('../../../fes-plugin-access/lib'), require.resolve('../../../fes-plugin-qiankun/lib'), + ], + presets: [ + require.resolve('../../../fes-build-vite/lib'), ] }; diff --git a/packages/fes-plugin-qiankun/examples/webpack-main/.env b/packages/fes-plugin-qiankun/examples/webpack-main/.env index 3646d14f..25241b73 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-main/.env +++ b/packages/fes-plugin-qiankun/examples/webpack-main/.env @@ -1 +1 @@ -PORT=8000 +PORT=8080 diff --git a/packages/fes-plugin-qiankun/examples/webpack-main/.fes.js b/packages/fes-plugin-qiankun/examples/webpack-main/.fes.js index 2c044f09..7182afcf 100644 --- a/packages/fes-plugin-qiankun/examples/webpack-main/.fes.js +++ b/packages/fes-plugin-qiankun/examples/webpack-main/.fes.js @@ -33,10 +33,12 @@ export default { } }, plugins: [ - require.resolve('../../../fes-build-webpack/lib'), require.resolve('../../../fes-plugin-model/lib'), require.resolve('../../../fes-plugin-layout/lib'), require.resolve('../../../fes-plugin-access/lib'), require.resolve('../../../fes-plugin-qiankun/lib'), + ], + presets: [ + require.resolve('../../../fes-build-webpack/lib'), ] };