rollup-plugin-rebase icon indicating copy to clipboard operation
rollup-plugin-rebase copied to clipboard

add skipHash option

Open bdwain opened this issue 3 years ago • 3 comments

Is it possible to add an option to skip adding hashes to filenames? I See it was suggested in part of #42, but mixed in with a larger change, and i was wondering if it would be easier to merge on its own.

The motivation for this is that I have some static assets in my library that I want apps to be able to include in the final bundle, and I would like to be able to import them and have them end up in certain subfolder of my library build, but without renaming the file.

I can make the pull request if that helps.

Thanks

bdwain avatar Apr 26 '22 01:04 bdwain

Hello @bdwain! I will try to carve out this change and prepare second PR just with hashes :) I made it as a part of larger change, just so it works for my needs. And I see that you have the same case where hashes should not be included.

txantslusam avatar May 13 '22 07:05 txantslusam

I prepared a PR with this functionality only: #46

txantslusam avatar May 13 '22 08:05 txantslusam

Hey @txantslusam, this feature would be super useful for me too! Any chance you can look at their PR, @swernerx?

tiffafoo avatar Aug 17 '22 06:08 tiffafoo