bpck
v1.0.5
Published
node:npm-packages/\#build\ `npm i -D bpck`\ `npm i --save-dev bpck`\ npm =node package manager i = install - = installasortypeis D = devdependency bpck = build package ``` require("bpck").init(); const bpck = require("bpck");
Downloads
23
Readme
node:npm-packages/#buildnpm i -D bpck
npm i --save-dev bpck
npm =node package manager i = install - = installasortypeis D = devdependency bpck = build package
require("bpck").init();
const bpck = require("bpck");
import bpeck from "bpck";
bpck.json "file"
{
"outdir": "yourprodFolderName canbe changed also with env -o dist OPTIONAL_field",
"itemlists": [
{
"folder": "target folder name REQUIRED", // . or / if the folder is this/current upfolder
"as": "target folder rename OPTIONAL",
"files": [
{
"name": "asnameifextalso REQUIRED",
"renamefile": "asnameifextalso OPTIONAL",
"removeComments": "boolean",
"trim": "boolean",
"minify": "boolean",
"removeConsoleLogs": "boolean"
}
]
}
// duplicate this with as much folders and subfolders you want to prepare for production[s].
]
};
Baakayjkan wuxuu kuu fududaynayaa inaad si fudud u qaabayso qaabka soosaarka ama u eekaanayaan foolderadaadu si sahlan ku ootomayt garaynkaraa aad ayay u fududahay kadaawo halkan adeegsigeeda link ama ka akhriso link.