question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: integrate babel-plugin-ast-literal

See original GitHub issue

What would you think about implementing something similar to babel-plugin-ast-literal?

I’m doing it here https://github.com/caesarsol/traph.macro/blob/master/macro.js and seems very useful.

Wonderful project BTW, it’s what I was waiting for!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kentcdoddscommented, Sep 17, 2017

Do you think it would be possible for babel-macros to execute itself on the macro definitions?

If you’re asking whether babel-macros should transpile your macro ahead of running it (via babel-register or similar), then I think no, I don’t really want to do that… If you’d like to not transpile, then you can require babel-register yourself.

0reactions
kentcdoddscommented, Oct 12, 2017

I’m going to go ahead and close this for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calls for Proposals
These criteria are customized for each proposal call, as detailed on the individual proposal call webpages. Successful proposals address each of these areas...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found