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

Broswerify optimization doesn't work #20

Closed
fluffynukeit opened this issue Jan 28, 2015 · 1 comment
Closed

Broswerify optimization doesn't work #20

fluffynukeit opened this issue Jan 28, 2015 · 1 comment

Comments

@fluffynukeit
Copy link

The browserify command works for me, using either the defaults or the --to option. However, if I include the -O or --optimise option, I get the following error:

* Browserifying project in /home/dan/Code/purescript-puzzler
* Compiling...
psc: Main: openBinaryFile: does not exist (No such file or directory)
* ERROR: Subcommand terminated with error code 1

I am using pulp 2.0.0.

@bodil
Copy link
Collaborator

bodil commented Jan 29, 2015

It seems psc's argument parser has changed a bit since that feature was implemented. psc --main Main no longer works, you have to do psc --main=Main instead.

@bodil bodil closed this as completed in 8829edf Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants