Title:
Issue with Bundle Size and ‘Cannot read properties of undefined’ on Yarn Build
Context:
- Plasmic
- Platform: [React/Next.js/Other]
- Build Tool: Yarn
Description:
I’m facing two issues while running yarn build
in my Plasmic project:
-
Bundle Size Warning:
- The build process generates a warning about the bundle size being significantly larger than recommended. I’ve reviewed the documentation on code splitting (https://create-react-app.dev/docs/code-splitting/) but would appreciate guidance on how to effectively implement code splitting in a Plasmic project.
-
‘Cannot read properties of undefined’ Error:
- Additionally, I’m encountering an error related to “Cannot read properties of undefined (reading ‘output’)” during the build process. This is causing the build to fail with exit code 1.
Steps to Reproduce:
- [Provide steps or commands you are using to trigger the build]