Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
| "alias": { | ||
| "@/*": "./src/$1" | ||
| }, |
There was a problem hiding this comment.
[P0] Parcel alias syntax prevents resolving @/… imports
The new imports switch everything to the @/… alias, but the corresponding configuration in package.json defines the alias as "@/*": "./src/$1". Parcel’s alias field only supports simple string or * → * substitutions (e.g. "@": "./src" or "@/*": "./src/*"); it does not expand $1. As written, Parcel won’t be able to resolve @/App, @/plugins/visualizer, etc., so yarn dev/yarn build will fail immediately with “Cannot resolve '@/…'”. The alias needs to be expressed with Parcel’s syntax (no $1) for the build to work.
Useful? React with 👍 / 👎.
No description provided.