chore: quality of life improvements (#449)

This commit is contained in:
2022-04-13 22:16:34 +02:00
committed by GitHub
parent e916177569
commit c10817716e
34 changed files with 14038 additions and 11804 deletions

View File

@@ -1,3 +1,5 @@
const isDevelopment = process.env.NODE_ENV !== 'production';
const config = (api) => {
api.cache(false);
return {
@@ -12,8 +14,8 @@ const config = (api) => {
'GITHUB_REPOSITORY',
],
}],
[require.resolve('react-hot-loader/babel')],
],
isDevelopment && require.resolve('react-refresh/babel'),
].filter(Boolean),
};
};