WebpackSendFile
This service overwrites the Jimpex
default sendFile
so it will use the frontendFs
service
to reads the file contents, thus using the virtual file system from the Webpack middleware.
Constructor Summary
Public Constructor | ||
public |
constructor(frontendFs: WebpackFrontendFs) Class constructor. |
Member Summary
Public Members | ||
public |
A local reference for the |
Method Summary
Public Methods | ||
public |
Send a file on the Jimpex response. |
Public Constructors
public constructor(frontendFs: WebpackFrontendFs) source
Class constructor.
Params:
Name | Type | Attribute | Description |
frontendFs | WebpackFrontendFs | To be able to read the file from the middleware file system. |