-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add --source-maps flag #545
Comments
@Profpatsch we don't use the library, but call the binary. The call to Lines 66 to 80 in cc75556
I'm up for adding a However you can already pass things to |
Sadly it doesn’t, because that option passes flags on to the toplevel of purs:
|
Hello, I really appreciate this library, so I can make time this weekend to work on it! |
Hey, So, It implemented the feature. Everything seems to be working fine. I also added a test case: However, line 653 is giving me this error: I generated test/fixtures/bundle-app-src-map.js from the templates folder, so the file path is different from the one generated by the test. Should we only verify if the source-map file is generated instead? |
@Woody88 yes, only checking that the file is there sounds sensible to me 🙂 |
Just leave it out, short forms are usually making scripts harder to read (especially if they don’t correspond to the first letter of the command), and I don’t think |
We are using Turtle's wrapper of |
Fixed in #562 |
It would be great if the
--source-maps
flag could be passed to purs. According to #216 (comment) it’s possible viapurs bundle
, but I gave up reverse engineering how exactlyspago bundle-app
callspurs
(well, it doesn’t, it calls the library, which makes it harder even).This should be easy to add.
The text was updated successfully, but these errors were encountered: