Skip to content

Commit b4cccab

Browse files
committed
Release 5.2.0
Webpack Analyser Major package versions update.
1 parent 74dcc67 commit b4cccab

File tree

7 files changed

+783
-616
lines changed

7 files changed

+783
-616
lines changed

.sasslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
files:
22
# formatter: stylish
3-
# include: '**/*.s+(a|c)ss'
3+
include: 'src/scss/*'
44
ignore:
55
- 'src/scss/vendor/**/*.scss'
66
- 'src/scss/base/_reset.scss'

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Change log
22

3+
## [5.2.0](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.2.0)
4+
### 22/12/2020
5+
6+
### New Features
7+
8+
* Added [Webpack Bundle Analyzer](https://www.npmjs.com/package/webpack-bundle-analyzer) - _Visualize size of webpack output files with an interactive zoomable treemap._
9+
* You can use this by running `npm run stats` - this will open the visualisaion on the default configuraiton URL `localhost:8888`, you can change this following the package documentation.
10+
* Added `npm` script `bundle` for more convinient usage in _Docker / Docker Compose_ development environment.
11+
12+
### Updates
13+
14+
* Moved `sass-lint` path configuration from npm script to the `.sasslintrc` file due. See [Lint of styles (SASS) doesn't work](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/issues/22)
15+
16+
### Packages Major Version Updates
17+
18+
+ `ajv@7.0.2` from `6.x` new features can be found on the official [release notes](https://github.com/ajv-validator/ajv/releases/tag/v7.0.0).
19+
+ `copy-webpack-plugin@7.0.0` from `6.x` new features can be found on the official [release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v7.0.0).
20+
+ `image-minimizer-webpack-plugin@2.0.0` from `1.x` ew features can be found on the official [release notes](https://github.com/webpack-contrib/image-minimizer-webpack-plugin/releases/tag/v2.0.0).
21+
22+
### Package Version Updates
23+
24+
+ `@babel/preset-env@7.12.11` change log can be found on the official [release notes](https://github.com/babel/babel/releases/tag/v7.12.11).
25+
+ `@babel/core@7.12.10` change log can be found on the official [release notes](https://github.com/babel/babel/releases/tag/v7.12.11).
26+
+ `autoprefixer@10.1.0` change log can be found on the official [release notes](https://github.com/postcss/autoprefixer/releases/tag/10.1.0).
27+
+ `copy-webpack-plugin@6.4.1` change log can be found on the official [release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases/tag/v6.4.1).
28+
+ `eslint@7.16.0` change log can be found on the official [release notes](https://github.com/eslint/eslint/releases/tag/v7.16.0).
29+
+ `mini-css-extract-plugin@1.3.3` change log can be found on the official [release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v1.3.3).
30+
+ `postcss@8.2.1` change log can be found on the official [release notes](https://github.com/postcss/postcss/releases/tag/8.2.1).
31+
+ `sass@1.30.0` change log can be found on the official [release notes](https://github.com/sass/dart-sass/releases/tag/1.29.0).
32+
+ `webpack@5.11.0` change log can be found on the official [release notes](https://github.com/webpack/webpack/releases/tag/v5.11.0).
33+
+ `webpack-merge@5.7.2` change log can be found on the official [change log](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md).
34+
335
## [5.1.0](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/releases/tag/v5.1.0)
436
### 01/12/2020
537

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Webpack 5 Boilerplate
22

33
![Maintenance](https://img.shields.io/maintenance/yes/2020?logo=github)
4-
![webpack-current](https://img.shields.io/badge/webpack-v5.9.0-green?logo=webpack)
4+
![webpack-current](https://img.shields.io/badge/webpack-v5.11.0-green?logo=webpack)
55
![node-current (scoped)](https://img.shields.io/node/v/@weareathlon/frontend-webpack-boilerplate)
66
[![Build Status](https://api.travis-ci.org/weareathlon/frontend-webpack-boilerplate.svg?branch=master)](https://travis-ci.org/weareathlon/frontend-webpack-boilerplate)
77
[![GitHub Issues](https://img.shields.io/github/issues-raw/WeAreAthlon/frontend-webpack-boilerplate)](https://github.com/WeAreAthlon/frontend-webpack-boilerplate/issues)
@@ -49,6 +49,7 @@
4949
* Integration with [Travis CI](https://travis-ci.org/)
5050
* [Demo deployment available to GitHub pages](https://weareathlon.github.io/frontend-webpack-boilerplate/)
5151
* Configured and ready to use **Webpack Dev Server** plugin for faster local development - [`webpack-dev-server`](https://webpack.js.org/configuration/dev-server/)
52+
* Integration with [Webpack Bundle Analyzer](https://www.npmjs.com/package/webpack-bundle-analyzer) - _Visualize size of webpack output files with an interactive zoomable treemap._
5253

5354
## Requirements
5455

@@ -177,6 +178,14 @@ $ npm run lint:sass
177178
$ npm run lint:js
178179
```
179180

181+
## Run Assets Bundle Analyzer
182+
183+
```sh
184+
$ npm run stats
185+
```
186+
187+
> This will open the visualisaion on the default configuraiton URL `localhost:8888`, you can change this following the [package](https://github.com/webpack-contrib/webpack-bundle-analyzer#options-for-cli) documentation.
188+
180189
## Continuous Integration
181190

182191
This boilerplate template contains integration with [Travis CI](https://travis-ci.org/). The build system runs all linting scripts and deploys production optimized pages to _GitHub_ pages upon push to the `master` branch. However, note that this deployment flow only works for _Project Pages_, as User and Organization pages [only support the master branch flow](https://help.github.com/articles/user-organization-and-project-pages/).

0 commit comments

Comments
 (0)