Skip to content

Copy uncompilable files (such as .proto) into dist library with bundleless #970

Answered by Timeless0911
FredrikAugust asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, in bundleless mode, you can:

  1. Set source.entry to remove files from the entry.
  2. Set output.copy to copy files to the output directory.
    eg. https://lib.rsbuild.dev/guide/faq/features#how-to-skip-the-preprocessing-of-less--sass-files-in-bundleless-mode

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Timeless0911
Comment options

@FredrikAugust
Comment options

@Timeless0911
Comment options

@Timeless0911
Comment options

Answer selected by FredrikAugust
@FredrikAugust
Comment options

@FredrikAugust
Comment options

@Timeless0911
Comment options

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