cmp-path icon indicating copy to clipboard operation
cmp-path copied to clipboard

Support for webpack alias @

Open kola-web opened this issue 2 years ago • 2 comments

kola-web avatar Sep 27 '23 13:09 kola-web

Can you add some documentation on this new feature?

musjj avatar Sep 28 '23 05:09 musjj

Simply support webpack's @path mapping by replacing the @ character in the path with the src directory in the current directory through regular matching

kola-web avatar Oct 07 '23 02:10 kola-web

@kola-web You didn't follow their convention of using 2-spaces for 1 indentation. You used tab-char everywhere in this PR.

nyngwang avatar Feb 25 '24 19:02 nyngwang

@kola-web You didn't follow their convention of using 2-spaces for 1 indentation. You used tab-char everywhere in this PR.

I'm really sorry. I found that this PR had big performance problems during subsequent use, which would cause the cmp prompt speed to slow down. When I find a solution, I will do PR again

kola-web avatar Feb 26 '24 02:02 kola-web