Files
ohif-viewer/platform/docs/pluginOHIFWebpackConfig.js
2025-05-27 11:05:07 +07:00

26 lines
502 B
JavaScript

module.exports = function (context, options) {
return {
name: 'plugin-ohif-webpack-config',
configureWebpack(config, isServer, utils) {
return {
resolve: {
fallback: {
fs: false,
path: false,
},
},
module: {
rules: [
{
test: /\.m?jsx?$/,
resolve: {
fullySpecified: false,
},
},
],
},
};
},
};
};