You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
686 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.actionAsync = actionAsync;
function _xdl() {
const data = require("xdl");
_xdl = function () {
return data;
};
return data;
}
function _migration() {
const data = require("../../utils/migration");
_migration = function () {
return data;
};
return data;
}
async function actionAsync(projectRoot, options) {
(0, _migration().warnAboutLocalCLI)(projectRoot, {
localCmd: 'export:web'
});
return _xdl().Webpack.bundleAsync(projectRoot, {
...options,
dev: typeof options.dev === 'undefined' ? false : options.dev
});
}
//# sourceMappingURL=buildWebAsync.js.map