On a staging page the manifest fallback was /public/<tree>/manifest.json, which
made /public/<tree>/ the base for every child script. The dev server treats a
/public/… request as source and injects an import into the built IIFE, so the
child failed as a classic script ("Cannot use import statement outside a
module"). The fallback is now /<tree>/manifest.json, where the dev server serves
the built tree unchanged. Built trees are unaffected (they resolve the manifest
before this fallback).
|
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| index.html | ||
| index.js | ||
| posterverse.instances.json | ||
| posterverse.meta.json | ||
| posterverse.vue | ||