DEV Community

Lukas Gaucas
Lukas Gaucas

Posted on vs. output.chunkFormat in Webpack5

  • ( 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 unless specified other than default value .

ENQUIRY : if you found it useful, please upvote this

Discussion (0)