-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Vite] fileReplacements is not working #13246
Comments
ISSUES CLOSED: nrwl#13246]
@mandarini Sorry I tested your code but I found the problem was the
From my side, there was no modules coming from the |
So I created a PR #13261 by changing the code I got it working correctly. |
Turns out I found the existing "rollup-plugin-replace-files" is a Vite Plugin... not rollup |
@nodegin yep, that's the main issue! :) I moved it out of rollup, but made sure to test the |
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. |
Current Behavior
The
fileReplacements
option is not workingExpected Behavior
It should be able to resolve the file, but currently it won't resolve the file for replacement correctly
Github Repo
No response
Steps to Reproduce
fileReplacements
in project.json@nrwl/vite/plugins/rollup-replace-files.plugin.js
and add some logBuild the app
npx nx build core --configuration production --verbose --skip-nx-cache
Observe the log
Nx Report
Failure Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: