vanilla-extract-css/vanilla-extract
Voir sur GitHub[webpack.cache.PackFileCacheStrategy] Serializing big strings (110kiB) impacts deserialization performance
Open
#374 ouverte le 20 sept. 2021
help wantedwebpack
Métriques du dépôt
- Stars
- (8 658 stars)
- Métriques de merge PR
- (Merge moyen 9j 22h) (13 PRs mergées en 30 j)
Description
Describe the bug
Strangely enough, adding more sprinkles (see this commit) causing the following warning to appear in Node's console:
<w> [webpack.cache.PackFileCacheStrategy] Serializing big strings (110kiB) impacts deserialization
performance (consider using Buffer instead and decode when needed)
Link to reproduction
git clone https://github.com/moroshko/webpack-cache-issue.gitcd webpack-cache-issueyarnyarn dev- Observe the warning
Note: You might need to rm -rf .next to see the warning.
System Info
System:
OS: macOS 11.5.2
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 558.97 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.6 - ~/.nvm/versions/node/v14.17.6/bin/node
Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.6/bin/yarn
npm: 6.14.15 - ~/.nvm/versions/node/v14.17.6/bin/npm
Browsers:
Chrome: 93.0.4577.82
Firefox: 92.0
Safari: 14.1.2
npmPackages:
@vanilla-extract/babel-plugin: 1.1.0 => 1.1.0
@vanilla-extract/css: 1.6.0 => 1.6.0
@vanilla-extract/next-plugin: 1.0.0 => 1.0.0
@vanilla-extract/recipes: 0.1.0 => 0.1.0
@vanilla-extract/sprinkles: 1.3.0 => 1.3.0