Add Express packer deprecation warning

This commit is contained in:
Dolan
2018-08-07 02:23:58 +01:00
parent e9aecfac1c
commit cf0c2c7691
2 changed files with 18 additions and 4 deletions

View File

@ -4,6 +4,9 @@ import { File } from "file";
import { Compiler } from "./compiler";
import { IPacker } from "./packer";
/**
* @deprecated ExpressPacker is now deprecated. Please use the StreamPacker instead and pipe that to `express`' `res` object
*/
export class ExpressPacker implements IPacker {
private readonly packer: Compiler;