🎨 corrige la modale en prod
parent
582ac16230
commit
935e687373
|
@ -1,3 +1,7 @@
|
|||
// 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'
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// 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'
|
||||
|
|
|
@ -15,4 +15,8 @@ declare namespace NodeJS {
|
|||
DEEPL_API_SECRET: string
|
||||
INSEE_SIRENE_API_SECRET: string
|
||||
}
|
||||
|
||||
interface Global {
|
||||
SC_DISABLE_SPEEDY: boolean
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue