WebpackRuntime
@tsed/cli
Usage
typescript
import { WebpackRuntime } from "@tsed/cli";Overview
ts
class WebpackRuntime extends BabelRuntime {
readonly name = "webpack";
readonly order: number;
isCompiled(): boolean;
files(): string[];
compile(src: string, out: string): string;
startProd(main: string): string;
devDependencies(): {
typescript: string;
"babel-loader": string;
webpack: string;
"webpack-cli": string;
"@babel/cli": string;
"@babel/core": string;
"@babel/node": string;
"@babel/plugin-proposal-class-properties": string;
"@babel/plugin-proposal-decorators": string;
"@babel/preset-env": string;
"@babel/preset-typescript": string;
"@babel/plugin-proposal-object-rest-spread": string;
"babel-plugin-transform-typescript-metadata": string;
"babel-watch": string;
};
}readonly name
ts
readonly name = "webpack";readonly order
ts
readonly order: number;isCompiled
ts
isCompiled(): boolean;files
ts
files(): string[];compile
ts
compile(src: string, out: string): string;startProd
ts
startProd(main: string): string;devDependencies
ts
devDependencies(): {
typescript: string;
"babel-loader": string;
webpack: string;
"webpack-cli": string;
"@babel/cli": string;
"@babel/core": string;
"@babel/node": string;
"@babel/plugin-proposal-class-properties": string;
"@babel/plugin-proposal-decorators": string;
"@babel/preset-env": string;
"@babel/preset-typescript": string;
"@babel/plugin-proposal-object-rest-spread": string;
"babel-plugin-transform-typescript-metadata": string;
"babel-watch": string;
};