-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
better css modules in SSR #6352
Conversation
const loaderUtils = require(`loader-utils`) | ||
const path = require(`path`) | ||
|
||
module.exports = function(content) { |
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 is the key change here removing this
Deploy preview for using-drupal ready! Built with commit 2c909c6 |
Deploy preview for gatsbygram ready! Built with commit 2c909c6 |
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.
@@ -122,6 +123,8 @@ module.exports = async ({ | |||
|
|||
const babelConfig = await createBabelConfig(program, stage) | |||
|
|||
const isSSR = stage === `build-html` |
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.
do you want to include develop-html
here as well?
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 good to me! Merging and releasing.
The current setup doesn't handle a lot of things, like images.