bpck

1.0.5 • Public • 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");

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.

Readme

Keywords

Package Sidebar

Install

npm i bpck

Weekly Downloads

3

Version

1.0.5

License

ISC

Unpacked Size

36.7 kB

Total Files

7

Last publish

Collaborators

  • drcabdiwahab