mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 07:46:17 -08:00
add removeHtmlSpace
This commit is contained in:
1 parent
d8ba5c266e
commit
be4d1d0437
7 files changed
+30
-18
No files matched your search
@@ -0,0 +1,8 @@
|
||||
module.exports = () => ({
|
||||
name: 'removeHtmlSpace',
|
||||
transform(code) {
|
||||
return {
|
||||
code: code.replace(/\\n?\s+</g, '<').replace(/>\\n?\s+/g, '>'),
|
||||
};
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user