Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 515 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 515 Bytes

gulp-core-build-serve

gulp-core-build-serve is a plugin for gulp-core-build which introduces the ability to serve files from a directory using gulp-connect and express.

Tasks

ServeTask

Description

Config

interface IServeTaskConfig {
  api?: {
    port: number,
    entryPath: string
  };
  initialPage: string;
  port: number;
}

Usage (and defaults):

build.webpack.setConfig({
    api: null,
    initialPage: '/index.html',
    port: 4321
  }
);