
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@russmedia/theme-builder-plugin
Advanced tools
Register global imports on demand for Vite and Webpack
Starter template for unplugin.
To use this template, clone it down using:
npx degit antfu/theme-builder-plugin my-unplugin
And do a global replace of theme-builder-plugin with your plugin name.
Then you can start developing your unplugin 🔥
To test your plugin, run: pnpm run dev
To release a new version, run: pnpm run release
npm i @russmedia/theme-builder-plugin
// vite.config.ts
import Starter from 'theme-builder-plugin/vite'
export default defineConfig({
plugins: [
Starter({ /* options */ }),
],
})
Example: playground/
// rollup.config.js
import Starter from 'theme-builder-plugin/rollup'
export default {
plugins: [
Starter({ /* options */ }),
],
}
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('theme-builder-plugin/webpack')({ /* options */ })
]
}
// nuxt.config.js
export default {
buildModules: [
['theme-builder-plugin/nuxt', { /* options */ }],
],
}
This module works for both Nuxt 2 and Nuxt Vite
// vue.config.js
module.exports = {
configureWebpack: {
plugins: [
require('theme-builder-plugin/webpack')({ /* options */ }),
],
},
}
FAQs
Register global imports on demand for Vite and Webpack
We found that @russmedia/theme-builder-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.