marko-js / webpack

A loader for marko files and a plugin for universal bundling
MIT License
13 stars 4 forks source link

fix: include runtimeId in dynamic public path var #32

Closed DylanPiercey closed 4 years ago

DylanPiercey commented 4 years ago

Description

When the runtimeId options is used, the $mwp global (used to sync the __webpack_public_path__ from the server) will now be properly prefixed with that id similar to other globals added by the Marko runtime, eg $mwp_MY_RUNTIME_ID.

Screenshots (if appropriate):

Checklist: