How to override nx webpack config from lib #6752
ruslan-byondxr
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to the NX API, there is an option to use a custom webpack config inside an application:
https://nx.dev/latest/react/node/build#webpackconfig
Custom webpack config as mentioned below doesn't work in libs. Works for apps only
short example:
webpackConfig": ["@nrwl/react/plugins/webpack", "apps/react-viewer-playground/webpack.config.js"]
long example:
Beta Was this translation helpful? Give feedback.
All reactions