From 3111ba58fa9be22a5f5360413770abfb378c4af2 Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 13 Oct 2022 15:11:49 +0300 Subject: [PATCH] Update BootstrapAsset (#52) * Update BootstrapAsset - Load minified JS on production - Optimize list of publishes files - Normalize comments * Update CHANGELOG.md * Update CHANGELOG.md --- CHANGELOG.md | 1 + src/BootstrapAsset.php | 25 ++++++++++++++++++++----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b08f4b2..b420975 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ Yii Framework 2 bootstrap5 extension Change Log - Enh #40: Breadcrumbs refactoring (WinterSilence) - Bug #46: Fix data-attribute usage for Dropdown toggle (machour) - Enh #48: Update `BootstrapWidgetTrait` to initialize JS plugins without jQuery (WinterSilence) +- Bug #52: Update `BootstrapAsset` to load minified CSS on production, optimize and fix list of publishes files (WinterSilence) 2.0.3 April 22, 2022 diff --git a/src/BootstrapAsset.php b/src/BootstrapAsset.php index 42a615d..cb7b066 100644 --- a/src/BootstrapAsset.php +++ b/src/BootstrapAsset.php @@ -1,8 +1,8 @@ ['scss/*.scss', 'scss/*/*.scss', 'dist/css/bootstrap.*'], + 'except' => ['scss/bootstrap-*.scss'] ]; - public $js = []; }