Skip to content
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

[FR]: add ts_project(assets) gazelle support #538

Open
jbedard opened this issue Oct 17, 2023 · 1 comment
Open

[FR]: add ts_project(assets) gazelle support #538

jbedard opened this issue Oct 17, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jbedard
Copy link
Member

jbedard commented Oct 17, 2023

What is the current behavior?

No response

Describe the feature

If typescript code imports a static asset such as *.svg gazelle should add it to ts_project(assets)

Should also support #keep in the ts_project(assets)

@jbedard jbedard added the enhancement New feature or request label Oct 17, 2023
@github-actions github-actions bot added the untriaged Requires traige label Oct 17, 2023
@jbedard jbedard self-assigned this Oct 17, 2023
@Aghassi
Copy link

Aghassi commented Dec 27, 2023

It would be additionally important to support JSX syntax where in an asset can be defined in an img tag like this

<img height={32} src="./assets/feather-logo.png" />

This is the exception to the require or import way

@alexeagle alexeagle removed the untriaged Requires traige label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants