"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.commandExecutor = commandExecutor;

var _buildToolLoggers = require("../../buildToolLoggers");

var _webpackBuild = _interopRequireDefault(require("../../shared/bundler/webpack/webpackBuild"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

// import { spawnSyncIO } from '../../shared/commands-utlis/spanSync';
function commandExecutor(options) {
  (0, _buildToolLoggers.messageLogger)('Build is runnning');
  (0, _webpackBuild.default)(options); // spawnSyncIO('webpack', [
  //   '--config',
  //   require.resolve('../../shared/bundler/webpack/webpack.dev.config.js')
  // ]);
}