## Summary for `?raw` -> https://github.com/web-infra-dev/rsbuild/issues/3435 workaround: `import str from "!./myType.ts?raw";` As for `?inline`, one workaround is to use [inline-loader](https://webpack.js.org/concepts/loaders/#inline) or set css-loader [export type](https://github.com/webpack-contrib/css-loader#string-3) _Originally posted by @SoonIter in https://github.com/web-infra-dev/rsbuild/discussions/3749#discussioncomment-10981813_ ## related links https://github.com/web-infra-dev/rsbuild/issues/3435 https://github.com/web-infra-dev/rsbuild/discussions/3749