From 66340c8fbf39b27cee08e989b93ace9eb7675cbc Mon Sep 17 00:00:00 2001 From: Attacktive Date: Fri, 1 Dec 2023 20:36:15 +0900 Subject: [PATCH] fix: add Bootstrap static resources to webpack bundle https://github.com/Attacktive/ipa-to-pronunciation-respelling/issues/25 --- webpack.config.babel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webpack.config.babel.js b/webpack.config.babel.js index 3496e55..56fd5b2 100644 --- a/webpack.config.babel.js +++ b/webpack.config.babel.js @@ -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"} ] }) ]