Closed tbinna closed 2 years ago
This simple fix seems to work based on my testing. It seems that Webpack still bundles internal Nx project dependencies (such as lib projects) and only externalizes node_modules
(which is what we want).
The only issue with this solution is that the Forge linter now produces the following result:
Warning: Could not perform some linting actions for HandlerLinter due to unhandled error "Cannot read properties of undefined (reading 'forEach')".
I guess we will have to dig into the compiled Forge linter code to try to understand why that is.
The linter issue is currently being discussed here: https://community.developer.atlassian.com/t/unclear-forge-linter-warning/58465
Atlassian indicates that the warning is an issue in the Forge linter that will be resolved.
:tada: This PR is included in version 1.1.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
fix Forge app build to ensure Webpack does not bundle external dependencies
Closes: #17