Skip to content

Commit 23ad159

Browse files
Merge branch 'release/1.2.4'
2 parents bb89026 + 9385d44 commit 23ad159

File tree

7 files changed

+7109
-9234
lines changed

7 files changed

+7109
-9234
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 1.2.4
5+
6+
* [Fixed] Minimizer is now only enabled for production builds
7+
* [Added] ESlint config export
8+
* [Changed] Stylelint config updated
9+
* [Changed] Updated NPM dependencies
10+
411
## 1.2.3
512

613
* [Changed] Updated NPM dependencies

config/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ module.exports = {
280280
],
281281
},
282282
optimization: {
283-
minimize: true,
283+
minimize: isProduction,
284284
minimizer: [
285285
new TerserPlugin({
286286
terserOptions: {

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
/**
22
* Internal dependencies
33
*/
4+
const eslintConfig = require('./eslint-config');
45
const RemoveSuprefluousAssetsPlugin = require('./plugins/remove-superfluous-assets');
56
const webpackConfig = require('./config/webpack.config');
67

78
module.exports = {
9+
eslintConfig,
810
RemoveSuprefluousAssetsPlugin,
911
webpackConfig,
1012
};

0 commit comments

Comments
 (0)