Replies: 1 comment
-
If you're going to run
Static files do not have mime types and they can't be set. They have the correct extension though so I highly doubt this is a Next.js issue, will convert this to a help discussion |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
Exporting static builds ends up with setting 'text/html' on css files, which in turn circumvents the rendering of these files.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
npx serve ./out
to serve the contents of the /out folderYou'll notice in the console a bunch of MIME type errors when relating to css.
Issue doesn't seem to happen when using a node-sass build.
Expected behavior
The export script should correctly generate MIME types for each file type
System information
Beta Was this translation helpful? Give feedback.
All reactions