--- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -119,9 +119,14 @@ module.exports = { resolve: { extensions: ['.js', '.gql', '.graphql'], + modules: ['/usr/share/gitlab/node_modules','/usr/share/gitlab/node_modules/mermaid/node_modules', '/usr/lib/nodejs'], alias, }, + resolveLoader: { + modules: ['/usr/share/gitlab/node_modules', '/usr/lib/nodejs'], + }, + module: { strictExportPresence: true, rules: [