mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
* build(deps)(example): Bump versions for packages related to `three` 1. Bump versions for `@react-three/drei`, `@react-three/fiber`, `@react-three/postprocessing`, and `three`. 2. Update the imported package from files. 3. Update the usage of `useAspect`. 4. Rename `useTextureLoader` to `useTexture`. 5. Replace deprecated `state.pointer` with `state.mouse` in `useFrame`. * build: Remove the tree shaking for package three Removing it because the code in config-overrides is causing error on yarn start, will put it back later if tree shaking is still necessary, maybe with anothor approach. * fix: incorrect size of scene * fix: replace package "threejs-meshline" with "meshline" The threejs-meshline cannot work with new version of @react-three/*, changing it to meshline fixes the problem. * fix: brightness of texture The textures became too bright after the upgrade, changing the gl_FragColor in `layerMaterial` makes them back to normal. * refactor: replace deprecated props of DepthOfField Props with and height has been renamed to resolutionX and resolutionY ref: https://github.com/pmndrs/postprocessing/releases/tag/v6.27.0 * fix: increase resolution to fix dof effect
7 lines
210 B
JavaScript
7 lines
210 B
JavaScript
const { override } = require('customize-cra')
|
|
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
|
|
|
module.exports = override(
|
|
//addWebpackPlugin(new BundleAnalyzerPlugin())
|
|
)
|