We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f618585 commit d66427dCopy full SHA for d66427d
webpack.config.js
@@ -20,7 +20,8 @@ module.exports = {
20
// removed which gives a tree with matrix-react-sdk and vector
21
// trees smashed together, but this fixes everything being under
22
// various levels of '.' and '..'
23
- return info.resourcePath.replace(/^[\/\.]*/, '');
+ // Also, sometimes the resource path is absolute.
24
+ return path.relative(process.cwd(), info.resourcePath).replace(/^[\/\.]*/, '');
25
}
26
},
27
resolve: {
0 commit comments