Skip to content

Instantly share code, notes, and snippets.

I care a lot

Romain Vincent romain20100

I care a lot
View GitHub Profile
romain20100 /
Last active Apr 6, 2021
Find all missing imports of components in a javascript es6 project
"""Find missing imports
Suitable for javascript projects using es6 imports.
Example uses:
Assuming SCRIPT is <path/to/>
First argument is a glob pattern to find components
Following arguments are paths to files or folders relative to current directory
- $ python3.9 SCRIPT '**/*.vue' components