@injectable/webpack-service
v2.0.0
Published
service for compiling strings to js
Readme
Webpack Service
Service for compiling strings to js using webpack.
This package works with the Injectable Core.
Functions
Registers an id for a compilation.
public registerCompilationId(): numberSets a compilation to be compiled and hosted
public setCompilation(
injectableName: string,
compilationId: number,
files: { [filename: string]: string },
nodeModules: Array<string>,
configuration: Configuration,
baseRoute: string,
encodings: Array<Encoding>,
onRequest?: OnRequest
): voidDeletes an compilation and all its compiled files.
public deleteCompilation(injectableName: string, compilationId: number): voidLicense
See the LICENSE file for license rights and limitations (MIT).
