preactjs/preact 27403
⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
A library to manage application state, heavily inspired by mobx-state-tree
:book: Preact documentation website.
A Pokemon Go based game done in React.
Implementations of various sorting algorithms.
🐠 Babel is a compiler for writing next generation JavaScript.
Add this plugin to generate mirrored esm modules for your existing bundles
🎣 Enables zero-config, importable babel plugins
startediamdustan/smoothscroll
started time in a month
push eventpreactjs/preact-cli
commit sha 9e49926a31a8c595793af0e26cd962a2de1963a2
fix changesets (#1415)
push time in a month
PR merged preactjs/preact-cli
We were missing a package
pr closed time in a month
push eventpreactjs/preact-cli
commit sha e970a1d385a60a12d3dc9d24be022b03c153bace
Add missing changeset for prefresh patch (#1414) * Create famous-cars-vanish.md * Update famous-cars-vanish.md
push time in a month
push eventpreactjs/preact-cli
commit sha 5d7a37f059f227ab6b7b3f2066e53c44317b9704
Fix mangled output by size-plugin when ssr is enabled (#1407)
commit sha 469ce7807eb061a294e146d034db86b5604aaee9
Merge branch 'master' into JoviDeCroock-patch-1
push time in a month
push eventpreactjs/preact-cli
commit sha 5d7a37f059f227ab6b7b3f2066e53c44317b9704
Fix mangled output by size-plugin when ssr is enabled (#1407)
push time in a month
PR merged preactjs/preact-cli
What kind of change does this PR introduce? bugfix
Did you add tests for your changes? No
Summary
Currently, running npm run build on a fresh preact-cli project produces a mangled output for size-plugin, because it writes both the output of the SSR build and the client build to the same output file.
As a result, the output is completely unusable:

This fix introduces a separate size-plugin-ssr.json output for the SSR build. After that, we get proper tracking of the size changes for the SSR and client builds:

Does this PR introduce a breaking change?
The addition of a second output file for size-plugin should not be a breaking change.
Other information
➜ preact-test4 git:(master) ✗ preact info
Environment Info:
System:
OS: Linux 4.15 Ubuntu 16.04.7 LTS (Xenial Xerus)
CPU: (16) x64 Intel(R) Core(TM) i9-9900KS CPU @ 4.00GHz
Binaries:
Node: 14.8.0 - ~/.nvm/versions/node/v14.8.0/bin/node
Yarn: 1.21.1 - /usr/bin/yarn
npm: 6.14.7 - ~/.nvm/versions/node/v14.8.0/bin/npm
Browsers:
Chrome: 85.0.4183.83
Firefox: 80.0.1
npmPackages:
preact: ^10.1.0 => 10.4.8
preact-cli: ^3.0.0 => 3.0.1
preact-render-to-string: ^5.1.2 => 5.1.10
pr closed time in a month
pull request commentpreactjs/preact-cli
Fix mangled size-plugin output when SSR is enabled
It is fine, if we track the SSR bundle size as well :)
comment created time in a month
startedlukejacksonn/oceanwind
started time in 2 months