Which off-the-shelf plug-ins can see which js,css files in the project are not used (import to)

how do I see which js,css files in the project are not used (import to)
, and which off-the-shelf plug-ins? Which off-the-shelf plug-ins can? Which off-the-shelf plug-ins can?

Dec.09,2021

you can write a babel plug-in yourself. When parsing importStatement, you internally maintain an importMapper.
and then use node to traverse the directory, and then put the files into a traverMapper, and compare the two mapper.


not webpack-bundle-analyzer

Menu