
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
@brixtol/rollup-html
Advanced tools
Hard fork of @rollup/html with some adjustments to better fit bundle processing
Hard fork of the @rollup/plugin-html plugin with some minor adjustment to better fit the monorepo development environment.
We need some additional control over the generated HTML, minor adjustments to source.
pnpm add @brixtol/rollup-html --save-dev
import html from '@brixtol/rollup-html';
export default {
input: 'src/index.js',
output: {
dir: 'output',
format: 'cjs'
},
plugins: [
html({
title: 'App Title',
attributes: {
html: { lang: 'en' }
},
styles: [
{
fileName: 'https://use.typekit.net/xxx.css',
place: 'before'
}
],
sprite: {
input: './src/svg/files',
options: {
cleanDefs: true,
inline: true,
svgAttrs: {
class: 'd-none',
style: 'position: absolute; height: 0 !important; width: !important;'
}
}
},
publicPath: '/',
minify: {
collapseWhitespace: true,
html5: true,
collapseInlineTagWhitespace: true
},
nodes: {
div: {
id: 'app'
}
},
innerHTML: `
<form name="contact-form" netlify netlify-honeypot="bot-field" hidden>
<input type="text" name="name">
<input type="email" name="email">
<input type="tel" name="phone">
<textarea name="message"></textarea>
</form>
`,
links: [
{
rel: 'apple-touch-icon',
sizes: '180x180',
href: '/apple-touch-icon.png'
},
{
rel: 'icon',
type: 'image/png',
sizes: 'image/png',
href: '/favicon-32x32.png'
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png'
},
{
rel: 'mask-icon',
color: '#4c4c4c',
href: '/safari-pinned-tab.svg'
},
{
rel: 'manifest',
href: '/site.webmanifest'
}
],
meta: [
{
charset: 'utf-8'
},
{
name: 'viewport',
content: 'minimum-scale=1, initial-scale=1, width=device-width'
},
{
name: 'description',
content: 'Some Description'
},
{
name: 'google-site-verification',
content: 'xxxxx'
},
{
name: 'msapplication-TileColor',
content: '#ffffff'
},
{
name: 'theme-color',
content: '#ffffff'
}
]
})
]
};
We ♡ open source!
FAQs
Hard fork of @rollup/html with some adjustments to better fit bundle processing
The npm package @brixtol/rollup-html receives a total of 3 weekly downloads. As such, @brixtol/rollup-html popularity was classified as not popular.
We found that @brixtol/rollup-html 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.