diff --git a/mon-entreprise/source/site/entry.en.tsx b/mon-entreprise/source/site/entry.en.tsx index e357a387d..6ea80221e 100644 --- a/mon-entreprise/source/site/entry.en.tsx +++ b/mon-entreprise/source/site/entry.en.tsx @@ -1,7 +1,3 @@ -// We disable Speedy mode for Styled-Component in production because it created a bug for overlay appearance -// https://stackoverflow.com/questions/53486470/react-styled-components-stripped-out-from-production-build -global.SC_DISABLE_SPEEDY = true - import 'core-js/stable' import { hot } from 'react-hot-loader/root' import { render } from 'react-dom' diff --git a/mon-entreprise/source/site/entry.fr.tsx b/mon-entreprise/source/site/entry.fr.tsx index 496b24d28..dc8daf1d0 100644 --- a/mon-entreprise/source/site/entry.fr.tsx +++ b/mon-entreprise/source/site/entry.fr.tsx @@ -1,7 +1,3 @@ -// We disable Speedy mode for Styled-Component in production because it created a bug for overlay appearance -// https://stackoverflow.com/questions/53486470/react-styled-components-stripped-out-from-production-build -global.SC_DISABLE_SPEEDY = true - import { hot } from 'react-hot-loader/root' import 'core-js/stable' import 'react-hot-loader' diff --git a/mon-entreprise/webpack.prod.js b/mon-entreprise/webpack.prod.js index 2dc4f3b48..c843137f3 100644 --- a/mon-entreprise/webpack.prod.js +++ b/mon-entreprise/webpack.prod.js @@ -30,11 +30,11 @@ const prerenderConfig = () => ({ $('#outdated-browser').after(` `)