Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: No loader is configured for ".md" files after v5 on development with @mdx-js/rollup #15281

Closed
7 tasks done
JounQin opened this issue Dec 7, 2023 · 1 comment · Fixed by #15286
Closed
7 tasks done
Labels
p2-edge-case Bug, but has workaround or limited in scope (priority) regression The issue only appears after a new release

Comments

@JounQin
Copy link
Contributor

JounQin commented Dec 7, 2023

Describe the bug

  ✘ [ERROR] No loader is configured for ".md" files: packages/pkg/README.md

    docs/App.tsx:20:15:
      20 │       ? import(`../packages/${params.name}/README.md`)
         ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


✘ [ERROR] No loader is configured for ".md" files: packages/pkg/CHANGELOG.md

    docs/App.tsx:37:15:
      37 │       ? import(`../packages/${params.name}/CHANGELOG.md`)

Reproduction

https://github.com/un-ts/mono-lib-boilerplate

Steps to reproduce

yarn
yarn dev

System Info

System:
    OS: macOS 14.1.2
    CPU: (10) arm64 Apple M1 Max
    Memory: 27.23 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.2 - ~/Library/Caches/fnm_multishells/76002_1701950982110/bin/node
    Yarn: 4.0.2 - ~/Library/Caches/fnm_multishells/76002_1701950982110/bin/yarn
    npm: 9.8.1 - ~/Library/Caches/fnm_multishells/76002_1701950982110/bin/npm
    bun: 1.0.15 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 120.1.61.100
    Chrome: 120.0.6099.62
    Safari: 17.1.2
  npmPackages:
    @vitejs/plugin-react-swc: ^3.5.0 => 3.5.0 
    vite: ^5.0.6 => 5.0.6

Used Package Manager

yarn

Logs

No response

Validations

@XiSenao
Copy link
Collaborator

XiSenao commented Dec 7, 2023

You can create a PR about .md, refer to the PR: #15189

JounQin added a commit to JounQin/vite that referenced this issue Dec 7, 2023
@sapphi-red sapphi-red added regression The issue only appears after a new release p2-edge-case Bug, but has workaround or limited in scope (priority) labels Dec 9, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p2-edge-case Bug, but has workaround or limited in scope (priority) regression The issue only appears after a new release
Projects
None yet
3 participants