Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyjemutai committed Jul 17, 2024
1 parent c86749c commit 5aa7058
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/esm-ptracker-report-app/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const path = require('path');
const config = (module.exports = require('openmrs/default-webpack-config'));
config.scriptRuleConfig.exclude =
path.sep == '/'
? /(node_modules[^\/@openmrs\/esm\-patient\-common\-lib])/
: /(node_modules[^\\@openmrs\/esm\-patient\-common\-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': path.resolve(__dirname, '../esm-commons-lib/src/index'),
'@openmrs/openmrs-form-engine-lib': '@openmrs/openmrs-form-engine-lib/src/index',
},
};
module.exports = config;

0 comments on commit 5aa7058

Please sign in to comment.