vite_ruby icon indicating copy to clipboard operation
vite_ruby copied to clipboard

fix: use correct dirname for manifest

Open josephnle opened this issue 1 year ago • 0 comments

Description 📖

Uses path.dirname instead of path.basename so we correctly determine the manifestDir in the assets-manifest plugin.

Background 📜

This was happening because the package was using path.basename, which gives the file name and not the directory name.

The Fix 🔨

Change path.basename to path.dirname

Screenshots 📷

N/A

josephnle avatar May 01 '24 22:05 josephnle