aspect-cli icon indicating copy to clipboard operation
aspect-cli copied to clipboard

[FR]: add ts_project(assets) gazelle support

Open jbedard opened this issue 2 years ago • 1 comments

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 avatar Oct 17 '23 21:10 jbedard

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

Aghassi avatar Dec 27 '23 01:12 Aghassi