|
@@ -3,6 +3,7 @@ const { shareAll, withModuleFederationPlugin } = require('@angular-architects/mo
|
|
|
const {
|
|
const {
|
|
|
ModifyEntryPlugin,
|
|
ModifyEntryPlugin,
|
|
|
} = require('@angular-architects/module-federation/src/utils/modify-entry-plugin');
|
|
} = require('@angular-architects/module-federation/src/utils/modify-entry-plugin');
|
|
|
|
|
+const baseConfig = require('./base-webpack.config');
|
|
|
|
|
|
|
|
const webpackConfig = {
|
|
const webpackConfig = {
|
|
|
...withModuleFederationPlugin({
|
|
...withModuleFederationPlugin({
|
|
@@ -62,10 +63,7 @@ const plugins = webpackConfig.plugins.filter((plugin) => !(plugin instanceof Mod
|
|
|
// console.log('webpackConfig:::', webpackConfig);
|
|
// console.log('webpackConfig:::', webpackConfig);
|
|
|
// console.log('plugins:::', plugins);
|
|
// console.log('plugins:::', plugins);
|
|
|
|
|
|
|
|
-webpackConfig.resolve.fallback = {
|
|
|
|
|
- "path": false,
|
|
|
|
|
- "fs": false
|
|
|
|
|
-};
|
|
|
|
|
|
|
+webpackConfig.resolve.fallback = baseConfig.resolve.fallback;
|
|
|
|
|
|
|
|
module.exports = {
|
|
module.exports = {
|
|
|
...webpackConfig,
|
|
...webpackConfig,
|