Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
zero config bundler for js library
npm install --save-dev bunchee
Usage: bunchee [options]
Options:
-v, --version output the version number
-w, --watch watch src files changes
-d, --dest <dir> specify output dest file
-h, --help output usage information
Usage:
$ bunchee ./src/index.js
Declare your main field and module field in package.json, then call bunchee cli in build scripts
{
"main": "dist/pkg.cjs.js",
"module": "dist/pkg.esm.js",
"scripts": {
"build": "bunchee ./src/index.js"
}
}
Or use it globally
# assume your file entry is ./src/index.js
# make sure there is a package.json file in your project root directory
# make sure there are `main` and `name` fields in package.json for description
cd <project-root-dir>
bunchee ./src/index.js
FAQs
zero config bundler for js/ts/jsx libraries
We found that bunchee demonstrated a healthy version release cadence and project activity because the last version was released less than 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.