tsdoc/playground/build.js

9 строки
196 B
JavaScript

'use strict';
const productionIndex = process.argv.indexOf('--production');
if (productionIndex !== -1) {
process.argv[productionIndex] = '--env.production';
}
require('webpack-cli/bin/cli');