Level 102
You can use a webpack plugin like https://github.com/tomchentw/unused-files-webpack-plugin
That was just a quick find. I am sure there are newer ones.
1 like
I just noticed that in create-react-app, it warns you about unused keywords and imports in your React code.
But with Laravel mix it doesn't do this. I'm using the react scaffold that comes with Laravel. Any ideas how can I accomplish this with Laravel mix?
Please or to participate in this conversation.