We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not sure how to use --loader option, e.g. --loader:.svg=text
--loader
--loader:.svg=text
Allow users to set --loader:.svg=text
The text was updated successfully, but these errors were encountered:
Likely just need an example of how to use --loader
Sorry, something went wrong.
here's a quick example in case somebody would like to use it to contribute a proper example:
esbuild( name = "bundle", srcs = [":src"], config = { "loader": { ".ttf": "file", }, }, entry_point = "src/index.js", )
The "config" parameter seems to accept a dictionary matching the JSON options for the esbuild js api: https://esbuild.github.io/content-types/#file
No branches or pull requests
What is the current behavior?
Not sure how to use
--loader
option, e.g.--loader:.svg=text
Describe the feature
Allow users to set
--loader:.svg=text
Fund our work
The text was updated successfully, but these errors were encountered: