11 Commits 63e09def78 ... 544f0c8ff0

Auteur SHA1 Bericht Datum
  raitis 544f0c8ff0 refactor: Import HsLanguageModule for hsTranslate pipe 2 jaren geleden
  raitis 9e64f94719 fix: Dont mess up HsConfig and viewport, don't add infinite layers, Work also in non-Krovak 2 jaren geleden
  raitis 8ecde933f3 build: Target more modern browsers 2 jaren geleden
  raitis 2c6cd8101d build: npm script for mod-fed serve 2 jaren geleden
  raitis bf78a4b249 build: Make eager chunk hack 2 jaren geleden
  raitis 63e09def78 refactor: Import HsLanguageModule for hsTranslate pipe 2 jaren geleden
  raitis 8af4bf2291 fix: Dont mess up HsConfig and viewport, don't add infinite layers, Work also in non-Krovak 2 jaren geleden
  raitis 46f34e030a build: Target more modern browsers 2 jaren geleden
  raitis 9ce8dc670d squash 2 jaren geleden
  raitis 60edac3c6d build: npm script for mod-fed serve 2 jaren geleden
  raitis 75b7868256 build: Make eager chunk hack 2 jaren geleden
2 gewijzigde bestanden met toevoegingen van 10 en 4 verwijderingen
  1. 8 0
      base-webpack.config.js
  2. 2 4
      custom-webpack.config.js

+ 8 - 0
base-webpack.config.js

@@ -0,0 +1,8 @@
+module.exports = {
+  resolve: {
+    fallback: {
+      "path": false,
+      "fs": false,
+    },
+  },
+};

+ 2 - 4
custom-webpack.config.js

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