DEV Community

LG
LG

Posted on

output.target vs. output.chunkFormat in Webpack5

  • output.target ( default:web [if no browserlist installed] | other values) – meant to denote the output (bundle) format ;

    NOTE : the target is relatively global configuration , may be overwritten by output.chunkFormat, unless the .chunkFormat() set to false (default) to accept global target configuration !

  • 'output.chunkFormat' (default:false other values: 'array-push' | 'commonjs' | 'module' | ) – by default it listens for global of output.target unless specified other than default value .


ENQUIRY : if you found it useful, please upvote this

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay