mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix psdoc_reply & overflow (#100)
This commit is contained in:
1 parent
30710cdbfb
commit
7f6c235c05
10 files changed
+87
-84
No files matched your search
@@ -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]';
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user