Skip to content

psc-ide and psc consistency finding FFI #2065

Description

@texastoland

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions