@cc-external/bootstrap
v5.3.1
Published
Install package "bootstrap" with externals configuration for "cc-webpack-externals-plugin"
Downloads
37
Maintainers
Readme
Configuration Package for @codecoupler/cc-webpack-externals-plugin
If you use the plugin @codecoupler/cc-webpack-externals-plugin
in your Webpack configuration
you can install with this package the NPM module bootstrap
and automatically configure this
as external library. The module will not be included in your library bundle.
Usage:
npm i @cc-external/bootstrap
Popper.js is not included. If you need Popper use the separate cc-external package:
npm i @cc-external/popperjs_core
npm i @cc-external/bootstrap
And add the following to the webpack.externals.js
:
module.exports = [
{
module: "@popperjs/core",
moveTo: { module: "bootstrap", place: "before" }
},
];
The version number of this package matches the major and minor number of the module bootstrap
that is included as dependency. The patch number do not correspond to the module patch number.