Skip to content

Commit

Permalink
Merge branch 'master' into pnp
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz authored Oct 2, 2020
2 parents ae12eaf + 52333a5 commit cf38716
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-chairs-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'preact-cli': patch
---

This disable SSR size tracking. This stops `size-plugin-ssr.json` from being generated and stops file sizes from being reported to the developer.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "3.13.1",
"version": "3.0.1",
"version": "3.0.3",
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true
Expand Down
4 changes: 0 additions & 4 deletions packages/cli/lib/lib/webpack/webpack-server-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const { resolve } = require('path');
const SizePlugin = require('size-plugin');
const merge = require('webpack-merge');
const baseConfig = require('./webpack-base-config');

Expand All @@ -24,9 +23,6 @@ function serverConfig(env) {
async: resolve(__dirname, './dummy-loader'),
},
},
plugins: [
new SizePlugin({ filename: 'size-plugin-ssr.json' }),
]
};
}

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "preact-cli",
"version": "3.0.2",
"version": "3.0.3",
"description": "Start building a Preact Progressive Web App in seconds.",
"repository": "preactjs/preact-cli",
"main": "lib/index.js",
Expand Down

0 comments on commit cf38716

Please sign in to comment.