Skip to content

Conversation

@ctcpip
Copy link
Member

@ctcpip ctcpip commented Mar 27, 2025

resolves #111
(potentially)

I'm not a huge fan of reinventing the wheel here, but it's one possible solution

let filenameIndex = 0

// find last /
for (let i = path.length - 1; i >= 0; i--) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all this can be done more elegantly, but at a cost to perf

@pliashkou
Copy link

It will help to fix #157

@UlisesGascon
Copy link
Member

@ctcpip let me know if you want me to include this in the next release 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CRA to Vite migration, process is not defined error in 'mime-types' package.

3 participants