mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix(build) only require/import the main common file
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
import _ from 'lodash';
|
||||
import moment from 'moment';
|
||||
import {
|
||||
daysSince,
|
||||
shouldDo,
|
||||
} from '../../../../common/script/cron';
|
||||
import common from '../../../../common';
|
||||
import * as Tasks from '../../models/task';
|
||||
import Q from 'q';
|
||||
@@ -11,6 +7,9 @@ import { model as Group } from '../../models/group';
|
||||
import { model as User } from '../../models/user';
|
||||
import { preenUserHistory } from '../../libs/api-v3/preening';
|
||||
|
||||
const daysSince = common.daysSince;
|
||||
const shouldDo = common.shouldDo;
|
||||
|
||||
const scoreTask = common.ops.scoreTask;
|
||||
|
||||
let clearBuffs = {
|
||||
|
||||
Reference in New Issue
Block a user