mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
added community version
This commit is contained in:
18
frontend/config-override.js
Normal file
18
frontend/config-override.js
Normal file
@@ -0,0 +1,18 @@
|
||||
// frontend/config-overrides.js
|
||||
const path = require('path');
|
||||
const ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');
|
||||
|
||||
module.exports = function override(config) {
|
||||
// Erlaube Imports außerhalb von src/
|
||||
config.resolve.plugins = config.resolve.plugins.filter(
|
||||
plugin => !(plugin instanceof ModuleScopePlugin)
|
||||
);
|
||||
|
||||
// Alias konfigurieren
|
||||
config.resolve.alias = {
|
||||
...config.resolve.alias,
|
||||
'@premium-frontend': path.resolve(__dirname, '../premium/frontendPRO/src')
|
||||
};
|
||||
|
||||
return config;
|
||||
};
|
||||
Reference in New Issue
Block a user