Skip to content

Commit 08f1ba6

Browse files
committed
fix: add missing dependency, fix require path
1 parent 4479bd8 commit 08f1ba6

File tree

3 files changed

+45
-3
lines changed

3 files changed

+45
-3
lines changed

Alloy/commands/compile/tasks/mvc-compile-task.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const fs = require('fs');
44
const path = require('path');
55
const walkSync = require('walk-sync');
66

7-
const CONST = require('alloy/Alloy/common/constants');
7+
const CONST = require('../../../common/constants');
88

99
const viewRegex = new RegExp('\\.' + CONST.FILE_EXT.VIEW + '$');
1010
const controllerRegex = new RegExp('\\.' + CONST.FILE_EXT.CONTROLLER + '$');
@@ -141,4 +141,4 @@ class MvcCompileTask extends IncrementalFileTask {
141141
}
142142
}
143143

144-
module.exports = MvcCompileTask;
144+
module.exports = MvcCompileTask;

package-lock.json

Lines changed: 42 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"@babel/parser": "^7.4.5",
3636
"@babel/traverse": "^7.4.5",
3737
"@babel/types": "^7.4.4",
38+
"appc-tasks": "^1.0.1",
3839
"async": "^2.4.0",
3940
"chmodr": "^1.0.2",
4041
"colors": "^1.1.2",

0 commit comments

Comments
 (0)