mirror of
https://github.com/morten-olsen/parcel.git
synced 2026-02-08 01:36:24 +01:00
chore: quality of life improvements (#449)
This commit is contained in:
@@ -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),
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user