mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
remove sinon and moment locales to shrink client bundle
This commit is contained in:
@@ -36,7 +36,7 @@ setUpLogging();
|
||||
setupAnalytics(); // just create queues for analytics, no scripts loaded at this time
|
||||
const store = getStore();
|
||||
|
||||
if (process.env.TIME_TRAVEL_ENABLED) {
|
||||
if (process.env.TIME_TRAVEL_ENABLED === 'true') {
|
||||
(async () => {
|
||||
const sinon = await import('sinon');
|
||||
if (axios.defaults.headers.common['x-api-user']) {
|
||||
|
||||
Reference in New Issue
Block a user