Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Zero Configuration JavaScript Bundler
build/er/z
is built originally to bundle monorepos, expanded later to cover
more build cases with a wide variety of options. It implements rollup, taking
advantage of its simplicity and customization to build
one-step production bundler.
npm install builderz
"build": "builderz"
In your packages.json
to compile to a CommonJS module (cjs) and minify the
bundle just pass the required arguments.
"build": "builderz --formats=cjs --minify"
Or in a package.json
file
"name": "my-package",
"version": "0.0.1",
"builderz":{
"formats": ["cjs"],
"minify": true,
}
Of course you cane import it as build package somewhere in your project:
const builderz = require("builderz");
// Multi-word options are camel-cased. Pass list as array.
const options = {};
builderz(options);
-m, --minify <boolean> Minify bundle works only if format is provided (default: false)
-p, --sourcemap <boolean> Enable sourcemap in output
-c, --camel-case <boolean> Add camel-cased output file (default: true)
-l, --clean-build <boolean> Clean previous build folder (default: false)
-t, --strict <boolean> Enable Strict Mode (default: false)
-r, --sort-pkg <boolean> Enable sorting packages for monorepo (default: true)
-d, --es-module <boolean> Define Property exports- es_model (default: false)
--formats <list> Specific build format (default: [])
--build-name <string> Specific folder build name (default: "dist")
--output <string> Custom output name
--pkg-paths <list> Provide custom paths not in the root/src (default: [])
--pkg-names <list> Building specific package[s], in workspace (default: [])
--alias <list> Package Alias (default: [])
--entries <list> Add multi entries instead of default src/index. (default: [])
--banner <string> Add banner to output
--external <list> Passing external libraries not to bundle
-h, --help display help for command
npm test
This project is licensed under the GPL-3.0 License
FAQs
> Zero Configuration JavaScript Bundler
The npm package builderz receives a total of 2 weekly downloads. As such, builderz popularity was classified as not popular.
We found that builderz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.