1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const base_webpack_command_1 = require("../base-webpack-command");
|
4 | const make_bundle_1 = require("../../services/webpack/runner/make-bundle");
|
5 | class BuildCommand extends base_webpack_command_1.BaseWebpackCommand {
|
6 | getDefaultEnvironment() {
|
7 | return "production";
|
8 | }
|
9 | getWebpackRunner(webpackConfig) {
|
10 | return new make_bundle_1.MakeBundleStrategy(webpackConfig);
|
11 | }
|
12 | }
|
13 | exports.default = BuildCommand;
|
14 | BuildCommand.description = "create an application bundle (for production, for example)";
|
15 | BuildCommand.args = base_webpack_command_1.BaseWebpackCommand.args;
|
16 | BuildCommand.flags = base_webpack_command_1.BaseWebpackCommand.flags;
|