Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@snowpack/plugin-build-script
Advanced tools
A Snowpack plugin to build files in your application using any CLI tool. This plugin passes matching files as input to a custom CLI command and returns the output response as the build result. This is useful for connecting a custom CLI or when no Snowpack
Readme
A Snowpack plugin to build files in your application using any CLI tool. This plugin passes matching files as input to a custom CLI command and returns the output response as the build result. This is useful for connecting a custom CLI or when no Snowpack plugin exists for a favorite build tool.
Note: All Snowpack < v2.6 build:*
scripts now use this plugin behind the scenes.
Usage:
npm install @snowpack/plugin-build-script
Then add the plugin to your Snowpack config:
// snowpack.config.js
module.exports = {
plugins: [
[
'@snowpack/plugin-build-script',
{
input: ['.tsx'], // files to watch
output: ['.tsx'], // files to export
cmd: 'babel --filename $FILE', // cmd to run
},
],
],
};
Name | Type | Description |
---|---|---|
input | string[] | Array of extensions to watch for. |
output | string[] | Array of extensions this plugin will output. |
cmd | string | Command to run on every file matching input . Accepts the $FILE env var. |
FAQs
A Snowpack plugin to build files in your application using any CLI tool. This plugin passes matching files as input to a custom CLI command and returns the output response as the build result. This is useful for connecting a custom CLI or when no Snowpack
The npm package @snowpack/plugin-build-script receives a total of 456 weekly downloads. As such, @snowpack/plugin-build-script popularity was classified as not popular.
We found that @snowpack/plugin-build-script demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.