vihanb / babel-plugin-wildcard

Wildcard imports import a directories JS files
MIT License
186 stars 27 forks source link

Allow loading of files with non-identifier characters #2

Closed tristan-shelton closed 7 years ago

tristan-shelton commented 7 years ago

File names like foo-bar.js and 1.0.0.md trigger compiler errors. By using a string literal in a computed property instead, any file name should be usable with the plugin.