Skip to content

How to add the less-loader to my theia-extension #14855

Answered by sdirix
waikitc asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @waikitc,
In Theia we have the same issue with CSS files imported in our Typescript files. What we settled on is to refer to the src directory via relative path, see for example here. This way we don't need to copy the CSS files to the lib directory while still allowing it to be resolved both from the sources and from the transpiled Javascript files.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@msujew
Comment options

@waikitc
Comment options

@sdirix
Comment options

sdirix Feb 7, 2025
Collaborator

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