@ugandaemr/esm-patient-queues-app
Version:
Patient queues microfrontend for UgandaEMR
16 lines (14 loc) • 662 B
JavaScript
const path = require('path');
const config = (module.exports = require('openmrs/default-webpack-config'));
config.scriptRuleConfig.exclude =
path.sep == '/'
? /(node_modules[^\/\/esm\-patient\-common\-lib, ^\/\/openmrs\-esm\-ohri\-commons\-lib])/
: /(node_modules[^\\\/esm\-patient\-common\-lib, ^\\\/openmrs\-esm\-ohri\-commons\-lib])/;
config.overrides.resolve = {
extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss'],
alias: {
'@openmrs/esm-framework': '@openmrs/esm-framework/src/internal',
'@ohri/openmrs-esm-ohri-commons-lib': '@ohri/openmrs-esm-ohri-commons-lib/src/index',
},
};
module.exports = config;