2.0.0 • Published 5 years ago

@injectable/webpack-service v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

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).

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago