wakaru icon indicating copy to clipboard operation
wakaru copied to clipboard

[module-detection / smart-rename] `styled-components` / `Tailwind-Styled-Component` libs

Open 0xdevalias opened this issue 7 months ago • 10 comments

This relates to the 'module-detection' feature described in the following issue:

  • #41

While looking through some decompiled code in a rather complex webpack bundled app, I've identified what seems to be the styled-components library (or something very similar to it):

  • https://github.com/styled-components/styled-components

It would be cool to be able to handle styled-components when reversing code.


This was originally based on the code I mentioned in the following comment:

  • https://github.com/pionxzh/wakaru/issues/36#issuecomment-1809542311

A more general high level version of 'module detection' that this feature relates to is described in:

  • https://github.com/pionxzh/wakaru/issues/41

Edit: I've also captured all of my below notes on the following gist for easier future reference:

  • https://gist.github.com/0xdevalias/916e4ababd3cb5e3470b07a024cf3125#reverse-engineered-webpack-tailwind-styled-component

0xdevalias avatar Nov 14 '23 06:11 0xdevalias