brookslybrand/purge-per-route

does it work for component inside node_modules?

Opened this issue · 2 comments

let's say route A imports a component from node_modules

import { Button } from 'ui-lib';

and the component - Button relies on some atomic class. I guess those classes would be purged, right?

To support this, I guess we need to parse the entire code and find out what components we used.

any good ideal?