Skip to content

rsbuild attempts to parse src/**/*.md files #3231

Closed Answered by Romej
Romej asked this question in Q&A
Discussion options

You must be logged in to vote

If someone is looking for an answer to this question, here is the solution :

  tools: {
    rspack: (config, { mergeConfig }) => {
      return mergeConfig(config, {
        module: {
          rules: [
            {
              test: /\.md$/,
              type: 'asset/source',
            },
          ],
        },
      });
    },
  },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Romej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant