Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement bundle command #26

Open
cdepillabout opened this issue Oct 9, 2021 · 1 comment
Open

implement bundle command #26

cdepillabout opened this issue Oct 9, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@cdepillabout
Copy link
Member

cdepillabout commented Oct 9, 2021

purs and spago both implement a bundle command.

This command bundles all the output .js files for each PureScript module into a single .js. This single .js file is easy to deploy or copy somewhere else.

It may make sense for us to also implement a bundle command in purenix. This command would output a single .nix for the entire project. This single .nix file would be easy to copy to another project (or possibly even use in a larger repo like Nixpkgs).

We need to investigate exactly how the bundle command works in purs and spago. We need to come up with a good way of including all our output Nix code into a single file.

This was mentioned in #22 (comment).

@jonascarpay
Copy link
Member

What does bundle do with FFI files, does it simply inline those as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants