Closed saurabhnanda closed 4 years ago
Hmm, I'm not sure what to do about this.
servant-static-th
is really meant to be a super-simple way to bundle and serve static assets with a servant application.
If you have an application with complicated assets, and want control over bundling certain files (or ignoring certain files), it may be better to find a more reliable way to do it than with servant-static-th
.
That said, if you want to send a PR adding support for bundling these .map
files, I'd be happy to merge it in.
This was sort of fixed in #15, although I guess there is a bigger request to add a way to tell servant-static-th
to ignore (and not serve) some file types.
Let's track that in #12.
These are source-map files for minified / uglified CSS/JS files. There should probably be a config option in the user-facing API which controls whether these files should be served, or not.