7 thoughts on “configuring webpack public path at runtime

  1. @sokra I think I’ve worked out what might be going on here.

    In lib/APIPlugin when replacements are done the replacement will only work for exactly the following assignment: __webpack_public_path__ = '/my/path', but will fail if it is a declaration var __webpack_public_path__ = '/my/path'.

  2. __webpack_public_path__ is not working when runtime chunk is separated(optimizations). publicPath is set from the build time rather than run time. Is anyone having this issue?

Comments are closed.