@injectable/webpack-service
v2.0.0
Published
service for compiling strings to js
Downloads
17
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(): 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).