I'm trying to set up our mixed project to keep .purs and .js files in the same directory tree. @ethul's PureScript WebPack plugin requires a glob of FFI files as input. @spicydonuts suggested naming FFI *.purs.js for the WebPack plugin. But I remembered @kritzcreek mentioning in #2013 (comment) that psc-ide expects those to be named like [ps-name].js (which sounded like a reasonable assumption) for fast recompilation. @hdgarrood also voiced that psc-ide finding FFI differently than psc violates principle of least surprise. Just reporting a use case we're working around. I don't have a suggestion how it should work differently.
I'm trying to set up our mixed project to keep
.pursand.jsfiles in the same directory tree. @ethul's PureScript WebPack plugin requires a glob of FFI files as input. @spicydonuts suggested naming FFI*.purs.jsfor the WebPack plugin. But I remembered @kritzcreek mentioning in #2013 (comment) thatpsc-ideexpects those to be named like[ps-name].js(which sounded like a reasonable assumption) for fast recompilation. @hdgarrood also voiced thatpsc-idefinding FFI differently thanpscviolates principle of least surprise. Just reporting a use case we're working around. I don't have a suggestion how it should work differently.