ui: fix psdoc_reply & overflow (#100)

This commit is contained in:
undefined committed 2021-04-20 02:08:07 +08:00
1 parent 30710cdbfb
commit 7f6c235c05
10 files changed
+87 -84

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ export default function (env = {}) {
name(resourcePath) {
if (resourcePath.includes('node_modules')) {
const extra = resourcePath.split('node_modules')[1];
return `modules/${extra.substr(1, extra.length - 1)}?[contenthash]`;
return `modules/${extra.substr(1, extra.length - 1).replace(/\\/g, '/')}?[contenthash]`;
}
return '[path][name].[ext]?[contenthash]';
},