Skip to content

Babel and Nx setup #26407

Answered by Juknum
Juknum asked this question in Questions
Discussion options

You must be logged in to vote

Found out what the issue was, in the NxWebpackPlugin options it should be:

optimization: {
   scripts: false,
   styles: process.env.NODE_ENV === 'production',
},

Instead of:

optimization: process.env.NODE_ENV === 'production',

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Juknum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant