Closed paustint closed 5 months ago
EDIT: Potentially resolved by this? https://github.com/nrwl/nx/pull/20693 I did not try it to confirm.
update-vite-config migration updated my custom plugin instead of the actual vite configuration.
In addition, worker plugins should have been updated to a function instead of an array as part of migration for this vite breaking change
The vite configuration should have correctly identified the configuration, and not other non-configuration data within the file.
https://github.com/jetstreamapp/jetstream/tree/v3.7.0
npx nx migrate latest
update-17-2-7
npx nx migrate --run-migrations
vite.config.ts
> NX Report complete - copy this into the issue template Node : 18.16.0 OS : darwin-arm64 yarn : 1.22.19 nx : 17.2.7 @nx/js : 17.2.7 @nx/jest : 17.2.7 @nx/linter : 17.2.7 @nx/eslint : 17.2.7 @nx/workspace : 17.2.7 @nx/cypress : 17.2.7 @nx/devkit : 17.2.7 @nx/eslint-plugin : 17.2.7 @nx/express : 17.2.7 @nx/next : 17.2.7 @nx/node : 17.2.7 @nx/plugin : 17.2.7 @nx/react : 17.2.7 @nx/storybook : 17.2.7 @nrwl/tao : 17.2.7 @nx/vite : 17.2.7 @nx/web : 17.2.7 @nx/webpack : 17.2.7 typescript : 5.2.2 --------------------------------------- Community plugins: @mands/nx-playwright : 0.6.2 nx-electron : 15.0.0 --------------------------------------- Local workspace plugins: @jetstream/workspace-plugin
No response
yarn 1.22.19
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
EDIT: Potentially resolved by this? https://github.com/nrwl/nx/pull/20693 I did not try it to confirm.
Current Behavior
update-vite-config migration updated my custom plugin instead of the actual vite configuration.
In addition, worker plugins should have been updated to a function instead of an array as part of migration for this vite breaking change
Expected Behavior
The vite configuration should have correctly identified the configuration, and not other non-configuration data within the file.
GitHub Repo
https://github.com/jetstreamapp/jetstream/tree/v3.7.0
Steps to Reproduce
npx nx migrate latest
update-17-2-7
from the migration file to workaround #20920 since that issue is irrelevant here.npx nx migrate --run-migrations
vite.config.ts
Nx Report
Failure Logs
No response
Package Manager Version
yarn 1.22.19
Operating System
Additional Information
No response