webpack – chunk files not found

i’ve started my foray into webpack which appears to be quite promising, but the documentation is overwhelming and not very gentle for the newcomer.

i was trying to figure out how to asynchronously load files with webpack using CommonJS modules. apparently, if you specify an output.path in webpack, you will also need to specify the output.publicPath option so that webpack knows how to find the chunks.

an example working webpack.config.js file:

One thought on “webpack – chunk files not found

  1. Thank you, I’ve recently been searching for info approximately this subject for a
    long time and yours is the greatest I have discovered so far.
    However, what about the bottom line? Are you positive about the supply?

Leave a Reply

Your email address will not be published. Required fields are marked *