
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
@borf/build
Advanced tools
Build system in a box for Borf projects.
First, install this package in your project as a dev dependency.
npm i --save-dev @borf/build
Installing this package makes the bbuild command (and alias borf-build) available in package.json scripts:
{
"scripts": {
"build": "bbuild --minify",
"start": "bbuild --watch"
}
}
--watch or -wStarts an HTTP server with live reload. Visit this server in your browser to see your app.
--minifyShortens variable names and removes whitespace in an effort to reduce bundle size as much as possible. Recommended for production builds.
--config or -cBuild against a specific config. Takes the path to the desired config file:
bbuild -c borf.build.prod.js
bbuild -c borf.build.dev.js
Build will look for a borf.build.js file in your project root by default:
project/
...
package.json
borf.build.js
The config file exports a builder configuration. You can create as many of these as you like as separate files and build against a specific one with the --config command line option.
import { Builder } from "@borf/build";
export default Builder.configure({
client: {
entry: "./client/app.jsx",
},
server: {
entry: "./server/app.ts",
},
static: {
path: "./static",
},
output: {
path: "./output",
},
optimize: {
minify: true,
compress: "production",
},
});
🦆
FAQs
Build system in a box for Borf apps.
We found that @borf/build 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 CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.