mini-asset icon indicating copy to clipboard operation
mini-asset copied to clipboard

Custom (app level) filters

Open dereuromark opened this issue 5 years ago • 2 comments

How can you define a custom filter, e.g. in your project and add it to the stack? I didn't see any config on this customization in the readme.

dereuromark avatar Nov 24 '20 13:11 dereuromark

Not right now. All the filters need to be from within this library's namespace. Supporting filters from elsewhere seems reasonable as long as they implement the FilterInterface.

markstory avatar Nov 24 '20 15:11 markstory

I was thinking about https://github.com/markstory/asset_compress/issues/234#issuecomment-732977206 and having a custom filter that removes the map comments.

dereuromark avatar Nov 24 '20 16:11 dereuromark