Exec command
$ npm install --save dk-compiler
Make file example.js in dir build and run
var dkCompiler = require('dk-compiler');
dkCompiler({
appendToDir: {
files: [
['./mainInDir.php', "index.php"],
]
},
path: "../",
ignore: [
".git",
".idea",
"docs/examples",
"node_modules",
"dist",
"build",
"*.xml",
"*.json",
],
isDistName: true,
/* distName: "example", */
archive: {
name: "../dist/mod.zip",
}
});
- This project adheres to Semantic Versioning