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.

add support for esbuild options

See original GitHub issue

maybe add support for passing esbuild options for ‘install’ functions? like this:

const { install } = require('esbuild-runner');

install({
  type: 'transform',
  debug: false,
  esbuild: {
    target: 'esnext',
    plugins: [...]
  }
});

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
folkecommented, Mar 10, 2021

I’ll see if I can add both the extra options to the API and the config file

0reactions
pincmancommented, Jul 16, 2021

@folke error: Cannot use plugins in synchronous API calls

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started - ESBuild
First, download and install the esbuild command locally. ... You can read more about the configuration options for the build API in the...
Read more >
Getting started with esbuild - LogRocket Blog
Esbuild is not a complete solution for bundling. It has default supports for React, CSS, and images, but it doesn't support SASS. If...
Read more >
Features | Vite
Native ES imports do not support bare module imports like the following: ... custom jsxFactory and jsxFragment can be configured using the esbuild...
Read more >
esbuild: An extremely fast JavaScript bundler and minifier - Gitee
Install · Local install (recommended). This installs the esbuild command locally in your project's package.json file: npm install --save-dev esbuild. Invoke it ...
Read more >
Custom esbuild for Rails - BootrAils
Create esbuild.config.js ... As you may have noticed, the "plugins" property allows you to add any esbuild plugin available in the npm ecosystem....
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