Replies: 1 comment 1 reply
-
You can disable it in your module.exports = {
flags: {
DEV_SSR: false
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
process.env.GATSBY_EXPERIMENTAL_DEV_SSR = false in my env have no effect and Gatsby still use ssr-static-develop
in webpack.config
Due to processEnv in webpack.config all Gatsby var are string in output .
so a conditional on process.env.GATSBY_EXPERIMENTAL_DEV_SSR always true
Solution proposal:
1> change processEnv to format "true" string to boolean (I think the best to avoid this kind of issue in futur)
or just change all conditional process.env.GATSBY_EXPERIMENTAL_DEV_SSR
to process.env.GATSBY_EXPERIMENTAL_DEV_SSR=="true"
Beta Was this translation helpful? Give feedback.
All reactions