hanami / assets-js

esbuild plugin for Hanami Assets
3 stars 5 forks source link

Check whether files are really files before operating on them #16

Closed parndt closed 8 months ago

parndt commented 11 months ago

When we have files nested inside directories we are, first of all, not locating them because we're not looking recursively.

Secondarily, we are failing to operate on them because we're treating the containing directory as if it's a file before first checking if this is OK.

We've also discovered that Slices are not properly namespacing their assets, which is something we're still considering.

Fixes #15