-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution
Description
Is this a bug report?
Yes
Have you read the Contributing Guidelines on issues?
yes
Environment
(Docusaurus version via npm outdated docusaurus or yarn outdated docusaurus, OS, Node, npm, yarn)
Package Current Wanted Latest Location
docusaurus 1.0.12 1.0.12 1.0.14
OS : Mac High Sierra
Node : v8.4.0
npm : 5.6.0
yarn : 1.5.1
Steps to Reproduce
- Update to version 1.0.12 or beyond
- Run
npm installfollowed bynpm run buildto generate the build - Since this PR - Use cssnano to minify main CSS file #569 - When I build and deploy my site I have css issues.
- When I deploy my site it does not display correctly, css is broken. In Chrome devtools console I see ```Resource interpreted as Stylesheet but transferred with MIME type test/plain: "https://www.www.www/doc-site/css/main.css"
Expected Behavior
After update to 1.0.12 and later css would work correctly.
Actual Behavior
When I deploy my site it does not display correctly, css is broken. In Chrome devtools console I see ```Resource interpreted as Stylesheet but transferred with MIME type test/plain: "https://www.www.www/doc-site/css/main.css"
Reproducible Demo
To demo this..
- init and build the demo site. Have a look at the generated css file.
- Deploy the build directory. You will see that css us broken.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its execution