Skip to content

How to use the imagetools plugin with vite-rails ? #248

Answered by ElMassimo
adipasquale asked this question in Q&A
Discussion options

You must be logged in to vote

the vite plugin suggests to import files with these query parameters, but that's only valid for files used from within JS/TS code it seems

That's correct, it inspects JS code to detect the transforms and generate the corresponding images for them.

That plugin does not currently solve the use case you have in mind.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@adipasquale
Comment options

@ElMassimo
Comment options

@adipasquale
Comment options

@ElMassimo
Comment options

@adipasquale
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants