From 55d33dd7dbb47e73ab27bd4546ace249176851bb Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 14 May 2019 13:38:44 +0200 Subject: [PATCH] Update package.json and webpack.mix.js --- Changelog | 1 + package.json | 3 ++- webpack.mix.js | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 88a09e6fa..a312ae2c3 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2019-05-14 DariusIII + * Chg: Update package.json and webpack.mix.js * Chg: Remove unused basePage() function from BasePageController * Chg: Update phpunit/phpunit (7.5.10 => 7.5.11) 2019-05-13 DariusIII diff --git a/package.json b/package.json index e51a6781b..5bc3bbef6 100644 --- a/package.json +++ b/package.json @@ -15,9 +15,10 @@ "cross-env": "^5.2.0", "jquery": "^3.4", "laravel-mix": "^4.0.15", + "laravel-mix-purgecss": "^4.1.0", "lodash": "^4.17.11", "popper.js": "^1.15.0", - "prettier": "^1.17.0", + "prettier": "^1.17.1", "vue": "^2.6.10" }, "dependencies": { diff --git a/webpack.mix.js b/webpack.mix.js index bbd8a0d1b..7ae071bae 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -1,4 +1,5 @@ const mix = require('laravel-mix'); +require('laravel-mix-purgecss'); /* |-------------------------------------------------------------------------- @@ -33,6 +34,7 @@ mix 'node_modules/multiselect/css/multi-select.css', 'resources/assets/css/custom.css' ], 'public/assets/css/all-css.css') + .purgeCss() .scripts( [ 'node_modules/jquery/dist/jquery.min.js',