files.macro Get array with file names in build time Usage Just call function passing directory parameter: import files from "files.macro"; const allImages = files("./assets/images"); // Will transpiled to // ↓ ↓ ↓ ↓ ↓ ↓ const allImages = [ 'avatar.png', 'catalog.png' ] License MIT