UNPKG

@epcare/esm-referal-laboratory-app

Version:
28 lines (26 loc) 750 B
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 = { fallback: { crypto: false, stream: false, os: false, path: false, zlib: false, https: false, http: false, util: false, url: false, }, extensions: [".tsx", ".ts", ".jsx", ".js", ".scss"], alias: { "@openmrs/esm-framework": "@openmrs/esm-framework/src/internal", "@openmrs/openmrs-form-engine-lib": "@openmrs/openmrs-form-engine-lib/src/index", }, }; module.exports = config;