-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
fix: #1114 static files in blog/assets
is not working
#1143
Conversation
Deploy preview for docusaurus-preview ready! Built with commit ffc790c |
will especially appreciate any feedback on how the tests can improved. i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me. Will include it in v1.6.1
Thanks @tsmrachel 😊 |
const cssnano = require('cssnano'); | ||
const autoprefixer = require('autoprefixer'); | ||
const postcss = require('postcss'); | ||
const path = require('path'); | ||
const escapeStringRegexp = require('escape-string-regexp'); | ||
const siteConfig = require('../../website/siteConfig.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This broke docusaurus completely, see #1149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this PR broke the release. My bad to overlook this. Will release a hotfix in ~1 hour.
Motivation
#1114
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
checked that it's working for docs - created docs/assets folder, added image to docs, and placed image in assets folder
checked that it's working for blog - created blog/assets folder, added image to blog, and placed image in assets folder
Related PRs
N.A.