.js and .ts files. It extracts imports and exports from non-JavaScript file types automatically based on their extension, with no plugins or config needed.
- Vue / Svelte
- Astro
- MDX
- CSS / SCSS Modules
- React Native
Fallow extracts the Fallow sees this file as importing
<script> block from Vue and Svelte single-file components and analyzes it like a standalone JS/TS module.What’s supported:<script>and<script setup>blockslang="ts"andlang="tsx"attributes<script src="./external.ts">external script references- HTML comments (
<!-- ... -->) are filtered out before parsing
Example.vue
ref from vue and formatDate from @/utils/date.See also
Dead code analysis
How fallow builds the module graph and detects unused code.
Built-in plugins
84 framework plugins for automatic entry point detection.