Skip to content

How should I proceed to directly reference a CSS file and use it as a string in rsbuild? #3749

Answered by SoonIter
xieccc asked this question in Q&A
Discussion options

You must be logged in to vote

for ?raw -> #3435 workaround: import str from "!./myType.ts?raw";

As for ?inline, one workaround is to use inline-loader or set css-loader export type

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SoonIter
Comment options

@SoonIter
Comment options

Answer selected by xieccc
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