We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using @nrwl/webpack:webpack, a build cannot be targetted for web workers. Setting "target": "webworker" yields the following error message:
@nrwl/webpack:webpack
"target": "webworker"
> NX Property 'target' does not match the schema. 'webworker' should be one of node,web.
This is despite the fact that webworker is a valid webpack target: https://webpack.js.org/configuration/target/
webworker
Allow specificatiying "target": "webworker" without error.
No response
Node : 18.14.2 OS : win32 x64 npm : 9.5.0 Hasher : Native nx : 16.0.3 @nx/js : 16.0.3 @nx/jest : 16.0.3 @nx/linter : 16.0.3 @nx/workspace : 16.0.3 @nx/angular : 16.0.3 @nx/cypress : 16.0.3 @nx/devkit : 16.0.3 @nx/eslint-plugin : 16.0.3 @nx/nest : 16.0.3 @nx/node : 16.0.3 @nrwl/tao : 16.0.3 @nx/webpack : 16.0.3 typescript : 4.9.4
` > NX Property 'target' does not match the schema. 'webworker' should be one of node,web.`
The text was updated successfully, but these errors were encountered:
fix(webpack): support webworker (nrwl#17136)
c86995f
f0d2258
fix(webpack): support webworker (#17136) (#17137)
8251906
Co-authored-by: Max Sagan - Yieldbroker <[email protected]>
v16.3.0
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.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Current Behavior
When using
@nrwl/webpack:webpack
, a build cannot be targetted for web workers. Setting"target": "webworker"
yields the following error message:> NX Property 'target' does not match the schema. 'webworker' should be one of node,web.
This is despite the fact that
webworker
is a valid webpack target:https://webpack.js.org/configuration/target/
Expected Behavior
Allow specificatiying
"target": "webworker"
without error.GitHub Repo
No response
Steps to Reproduce
webworker
Nx Report
Failure Logs
` > NX Property 'target' does not match the schema. 'webworker' should be one of node,web.`
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: