mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
chore(website): enable strict compiler option (#6012)
This commit is contained in:
parent
d25bf24753
commit
3334bfb4fa
10 changed files with 31 additions and 22 deletions
|
@ -45,7 +45,7 @@ const allDocHomesPaths = [
|
|||
const isDev = process.env.NODE_ENV === 'development';
|
||||
|
||||
const isDeployPreview =
|
||||
process.env.NETLIFY && process.env.CONTEXT === 'deploy-preview';
|
||||
!!process.env.NETLIFY && process.env.CONTEXT === 'deploy-preview';
|
||||
|
||||
// Used to debug production build issues faster
|
||||
const isBuildFast = !!process.env.BUILD_FAST;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue