-
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
feat(webpack): add convertConfigToWebpackPlugin #26516
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit 25455c7. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
20b3bd3
to
bd2e85c
Compare
@@ -76,7 +76,7 @@ export function normalizeOptions( | |||
|
|||
const sourceRoot = projectNode.data.sourceRoot ?? projectNode.data.root; | |||
|
|||
if (!options.main) { | |||
if (!combinedPluginAndMaybeExecutorOptions.main) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be checking the combined options (executor and config) and not only what has been set inside the config.
bd2e85c
to
941d0f2
Compare
941d0f2
to
ae5cad4
Compare
ae5cad4
to
6b37da6
Compare
7c38035
to
487912b
Compare
487912b
to
371a13d
Compare
371a13d
to
de7a524
Compare
de7a524
to
f15f356
Compare
f15f356
to
402c1c6
Compare
402c1c6
to
484c11d
Compare
484c11d
to
63fc1be
Compare
63fc1be
to
25455c7
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
This PR introduces functionality for users who currently use the
withNx
andwithReact
plugins in their webpack configuration to migrate to theNxAppWebpackPlugin
.The
nxUseLegacyPlugin
wraps the legacy style function so that it continues to work with the standardized generated webpack config.By implementing this change, the aim is to provide a consistent method for users opting to transition to inferred targets. This ensures a smoother migration process, offering better integration and reducing potential configuration complexities.