Skip to content

Commit

Permalink
fix: add Bootstrap static resources to webpack bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Attacktive committed Dec 1, 2023
1 parent a4303af commit 66340c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ module.exports = {
plugins: [
new CopyPlugin({
patterns: [
{ from: "src/static" }
{ from: "src/static" },
{ from: "node_modules/bootstrap/dist/css/bootstrap.min.css", to: "bootstrap/dist/css/bootstrap.min.css"},
{ from: "node_modules/bootstrap/dist/js/bootstrap.min.js", to: "bootstrap/dist/js/bootstrap.min.js"}
]
})
]
Expand Down

0 comments on commit 66340c8

Please sign in to comment.