diff --git a/src/js/main.js b/src/js/main.js index ca22bce..7390237 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -1,4 +1,4 @@ -import 'bootstrap/dist/css/bootstrap.css'; +import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/js/bootstrap.bundle.min'; import '../css/custom.css'; diff --git a/webpack.config.js b/webpack.config.js index c1e0fea..d1a8d91 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,15 +25,13 @@ module.exports = { }, plugins: [ new MiniCssExtractPlugin({ - filename: '../css/[name].css' + filename: '../css/main.css' }), new PurgeCSSPlugin({ paths: glob.sync([ - path.join(__dirname, 'index.php'), - path.join(__dirname, 'src/js/**/*.js') + path.join(__dirname, 'index.php') ]), - only: ['bootstrap'], safelist: ['tooltip', 'fade', 'show', 'bs-tooltip-top', 'tooltip-inner', 'tooltip-arrow', 'btn-equals', 'btn-arrow', 'alert', 'alert-warning'] }) ] -}; +}; \ No newline at end of file