fix(build) only require/import the main common file

This commit is contained in:
Matteo Pagliazzi
2016-04-11 19:46:48 +02:00
parent 27a2b9002d
commit 463ba81468
7 changed files with 13 additions and 10 deletions

View File

@@ -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 = {