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.

Any ideas to allow passing configuration?

See original GitHub issue

I specifically mean the loader configuration option. In my case, I care about it because the following file doesn’t compile with tsx (but it does with ts):

// Basically, templated arrow functions are treated as TSX components rather than a templated argument.
const method = <T>() => {
    console.log("hello");
};

So maybe… what if we had a esbuild.config.js(on) file and read from it, like many other tools?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jsmithcommented, Sep 19, 2020

I did not know about that function, thanks for cleaning it up!

0reactions
github-actions[bot]commented, Oct 19, 2020

🎉 This issue has been resolved in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

5 Different Ways to Pass Configuration Options for Modern ...
5 Different Ways to Pass Configuration Options for Modern Applications · 1. From parameter substitution · 2. From the command line · 3....
Read more >
A clean way to pass configs in a Go application
You can just open the config structure and see a full list of envs that the app needs. The lib provides a set...
Read more >
Which is the best way to allow configuration options be ...
I was wondering if there is any way to combine the two steps, e.g. use optparse (or the newer argparse) to handle command...
Read more >
Building a Better Configuration Settings Class - CODE Magazine
This article describes how to improve on the base functionality using a class that provides strong typing, allows for writing of keys, and...
Read more >
Allow passing multiple filenames without a configuration #4279
As a user, I'm stuck between these two tools. My team's workaround has been to configure pre-commit to run php-cs-fixer against the entire ......
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