replica
replica copied to clipboard
The `js` path and files need added to the cabal distribution
The cabal release of this package is missing the js
directory and files thus resulting in a build error:
src/Replica/VDOM.hs:259:16-50: error:
• Exception when trying to run compile-time code:
js/dist/client.js: openBinaryFile: does not exist (No such file or directory)
Code: FE.embedFile "js/dist/client.js"
• In the untyped splice: $(FE.embedFile "js/dist/client.js") | 259 | clientDriver = $(FE.embedFile "js/dist/client.js")
Might want to use makeRelativeToProject
as well: https://hackage.haskell.org/package/file-embed-0.0.11.2/docs/Data-FileEmbed.html#v:makeRelativeToProject