
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
bootstrap.native-loader
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Critical CVE, Known malware, Socket optimized override available, High CVE, and Protestware or potentially unwanted behavior
This is a webpack loader for bootstrap.native.
yarn add bootstrap.native
yarn add --dev bootstrap.native-loader
In your webpack config file, in the rules array, add this object. This will compile all of the bootstrap.native modules.
{
test: /bootstrap\.native/,
use: {
loader: 'bootstrap.native-loader'
}
}
There's also an only option. (cannot be used at the same time as the ignore option)
{
test: /bootstrap\.native/,
use: {
loader: 'bootstrap.native-loader',
options: {
only: ['modal', 'dropdown']
}
}
}
Also, an ignore option. (cannot be used at the same time as the only option)
{
test: /bootstrap\.native/,
use: {
loader: 'bootstrap.native-loader',
options: {
ignore: ['carousel', 'button']
}
}
}
A full list of components that can be listed under ignore or only are shown below.
['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'popover', 'scrollspy', 'tab', 'tooltip']
Once you have the above setup in your add the code below to include the custom build in your bundle.
import 'bootstrap.native';
or if you use require
require('bootstrap.native');
FAQs
Webpack loader for bootstrap.native
The npm package bootstrap.native-loader receives a total of 288 weekly downloads. As such, bootstrap.native-loader popularity was classified as not popular.
We found that bootstrap.native-loader 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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.