Add svelte as a view engine to swaf #33
@ -3,7 +3,6 @@ import express, {NextFunction, Request, Response, Router} from 'express';
|
||||
import * as fs from "fs";
|
||||
import nunjucks from "nunjucks";
|
||||
import * as path from "path";
|
||||
import url from "url";
|
||||
|
||||
import ApplicationComponent from "./ApplicationComponent.js";
|
||||
import CacheProvider from "./CacheProvider.js";
|
||||
@ -379,7 +378,7 @@ export default abstract class Application implements Extendable<ApplicationCompo
|
||||
}
|
||||
|
||||
public async isInNodeModules(): Promise<boolean> {
|
||||
return !await doesFileExist('node_modules/swaf');
|
||||
return await doesFileExist('node_modules/swaf');
|
||||
}
|
||||
|
||||
public isReady(): boolean {
|
||||
|
Loading…
Reference in New Issue
Block a user