![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
bfred-npm-bundler
Advanced tools
It's for my own modules, but maybe you can find it useful too. It changes often (but follows semver). Unannounced PRs generally not welcome, but feel free to open issues to discuss first.
It outputs the following files:
[libName]
"main": "dist/[lib-name].common-js.js",
in package.json"jsnext:main": "dist/[lib-name].es-modules.js",
in package.jsonInstall it in your project:
npm install --save-dev bfred-npm-bundler
Add the references to the generated files and the build step in your package.json
:
{
"main": "dist/lib-name.common-js.js",
"jsnext:main": "dist/lib-name.es-modules.js",
"scripts": {
"build": "bfred-npm-bundler lib-name libName",
"prepublish": "npm run build"
}
}
If your lib only makes sense inside node/browserify, you can skip the browser
file creation by not passing the second argument:
bfred-npm-bundler lib-name
instead of bfred-npm-bundler lib-name libName
The browser
file is useful to be used for byte-counting via gzip-size-cli
or with badges. If your package is node-only, you can pass the option --byte-count
and a dist/[lib-name].byte-count.js file will be created.
rollup-babel-lib-bundler is more configurable
MIT © Federico Brigante
FAQs
Opinionated ES6 library bundler based on rollup and buble
The npm package bfred-npm-bundler receives a total of 3 weekly downloads. As such, bfred-npm-bundler popularity was classified as not popular.
We found that bfred-npm-bundler 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.