htmlgaga
Version:
Manage non-SPA pages with webpack and React.js
22 lines (21 loc) • 581 B
TypeScript
import express from 'express';
import Builder from '../Builder';
export interface EntryObject {
[index: string]: [string, ...string[]] | {
import: string | string[];
dependOn: string | string[];
};
}
export interface Server {
start(): Promise<express.Application | void>;
}
declare class DevServer extends Builder {
#private;
constructor(pagesDir: string, { host, port }: {
host: string;
port: number;
});
private listen;
start(): Promise<express.Application | void>;
}
export default DevServer;