2.0.0 • Published 5 years ago
@injectable/webpack-service v2.0.0
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(): number
Sets 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
): void
Deletes an compilation and all its compiled files.
public deleteCompilation(injectableName: string, compilationId: number): void
License
See the LICENSE file for license rights and limitations (MIT).