Install package "bootstrap" with externals configuration for "cc-webpack-externals-plugin"
@codecoupler/cc-webpack-externals-plugin in your Webpack configuration
bootstrap and automatically configure this
bash
npm i @cc-external/bootstrap
`
Popper.js is not included. If you need Popper use the separate cc-external package:
`bash
npm i @cc-external/popperjs_core
npm i @cc-external/bootstrap
`
And add the following to the webpack.externals.js:
`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`