Skip to content

Commit 37ebdd9

Browse files
authored
Merge pull request #56 from ex37/master
update package versions, remove unused
2 parents 942837d + ffe060c commit 37ebdd9

File tree

3 files changed

+154
-320
lines changed

3 files changed

+154
-320
lines changed

build/tasks/app-pages.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ function getPageContextExternal(file) {
165165

166166
// Environmental variables
167167
env = dotenv.config({
168-
silent: true,
169168
path: path.resolve(config.rootDir, '.env')
170169
});
171170

@@ -192,7 +191,7 @@ function getPageContextExternal(file) {
192191

193192

194193
contextPaths.map(function(filePath) {
195-
if (!fs.existsSync(filePath)) {
194+
if (!fs.pathExistsSync(filePath)) {
196195
return false;
197196
}
198197

0 commit comments

Comments
 (0)