devextreme
Version:
HTML5 JavaScript Component Suite for Responsive Web Development
14 lines (8 loc) • 397 B
JavaScript
var fs = require("fs");
var path = require("path");
var bundle = process.argv.length > 2 ? process.argv[2] : 'dx.custom';
var configPath = path.join(process.cwd(), bundle + ".config.js");
fs.createReadStream(path.join(__dirname, '../bundles', 'dx.custom.config.js')).pipe(fs.createWriteStream(configPath));
console.log(configPath + " successfully created");
;