Skip to content

feature request: support [loader] ".md" = "text" by default #24445

@capaj

Description

@capaj

What is the problem this feature would solve?

I often want to be able to edit long LLM prompts with nice formatting so I store them in git as markdown files.
I want to use these in my code so I import them. I have to add [loader] ".md" eveywhere. When I have monorepo with 10 projects, it means 10 bunfig.toml files in my repo yaaay

What is the feature you are proposing to solve the problem?

just letting me import markdown by default

What alternatives have you considered?

[loader] ".md" = "text"

I could use this and go out and try to fix every tool running bun bundler to properly load bunfig.toml, but IMHO adding it to the core would save a lot of people lot of time

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions