
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@reactway/webpack-builder-plugin-html
Advanced tools
A plugin made for webpack-builder.
$ npm i @reactway/webpack-builder-plugin-html
Add plugin into webpack config by using use() builder method.
const webpackBuilder = require("@reactway/webpack-builder");
const htmlPlugin = require("@reactway/webpack-builder-plugin-html");
module.exports = new webpackBuilder.Builder(__dirname, {
entry: "./src/app.js",
output: {
path: "./dist",
filename: "[name].bundle.js"
}
})
.use(htmlPlugin)
.toConfig();
Default webpack-builder-plugin-html options and we are also using base html-webpack-template template (HtmlWebpackTemplate named value):
let htmlPluginOptions: HtmlWebpackPlugin.Options | undefined = {
inject: false,
template: HtmlWebpackTemplate,
baseHref: "/",
appMountIds: ["root"],
meta: [
{
name: "viewport",
content: "width=device-width, initial-scale=1"
}
]
};
By giving any option it will fully override default options. It is wrapped html-webpack-plugin. All options you can pass from the wrapped package.
const webpackBuilder = require("@reactway/webpack-builder");
const htmlPlugin = require("@reactway/webpack-builder-plugin-html");
module.exports = new webpackBuilder.Builder(__dirname, {
entry: "./src/app.js",
output: {
path: "./dist",
filename: "[name].bundle.js"
}
})
.use(htmlPlugin, {
title: 'Custom template',
template: 'index.html',
...
}})
.toConfig();
WIP
Released under the MIT license.
FAQs
A plugin made for webpack-builder.
The npm package @reactway/webpack-builder-plugin-html receives a total of 1 weekly downloads. As such, @reactway/webpack-builder-plugin-html popularity was classified as not popular.
We found that @reactway/webpack-builder-plugin-html 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.