
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
piral-cli-bun
Advanced tools
Provides debug and build capabilities for pilets and Piral instances using Bun.
This plugin enables using bun as the bundler for Piral instances and pilets.
bun add piral-cli-bun --dev
Note: The plugin has to be installed to tell the piral-cli
to use bun as the default bundler.
There is nothing to do. Standard commands such as piral build
or pilet debug
will now work with bun as the bundler.
This plugin comes with batteries included. You don't need to install or specify your bun version - it will use what you have installed.
Right now it includes:
esbuild-sass-plugin
esbuild-codegen-plugin
Additionally, most known referenced assets are handled as files.
If you want to customize the given config (e.g., to add more plugins) then create a file bun.config.js in your root directory.
In the most trivial version the file looks as follows:
module.exports = function(options) {
return options;
};
This would just receive the original build options and return them, i.e., essentially not doing anything. If you want to add some plugin you could do:
const { somePlugin } = require('bun-some-plugin');
module.exports = function(options) {
options.plugins.push(somePlugin());
return options;
};
There are no overrides applied afterwards. Therefore, what you modify will remain in the options.
Piral is released using the MIT license. For more information see the license file.
1.0.0 (March 15, 2024)
FAQs
Provides debug and build capabilities for pilets and Piral instances using Bun.
The npm package piral-cli-bun receives a total of 2 weekly downloads. As such, piral-cli-bun popularity was classified as not popular.
We found that piral-cli-bun 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.