diff --git a/webpack.config.js b/webpack.config.js index d1a8d91..ea9d9cd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,7 +29,9 @@ module.exports = { }), new PurgeCSSPlugin({ paths: glob.sync([ - path.join(__dirname, 'index.php') + path.join(__dirname, 'index.php'), + path.join(__dirname, 'src/js/*.js'), + path.join(__dirname, 'templates/*.php'), ]), safelist: ['tooltip', 'fade', 'show', 'bs-tooltip-top', 'tooltip-inner', 'tooltip-arrow', 'btn-equals', 'btn-arrow', 'alert', 'alert-warning'] })