Open
Description
Describe the bug
When using latest version of slidev (51.5.0), the presentation is not displayed in the browser and an error message is in the console "Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec."
Minimal reproduction
Steps to reproduce the behavior:
- Run the command pnpm create slidev
- Open the generated presetantion in your browser
- See the localhost:3030 does not display anything
- Open the web console and see the error
You can use https://sli.dev/new to create a new project to reproduce the issue.
Works fine with previous version.
Environment
- Slidev version: 51.5.0
- Browser: Edge
- OS: Windows 11