Important:
Run this migration if you are using {{PUBLIC_URL}}
in a site plugin's plugin.json
If you are using {{PUBLIC_URL}}
in a site plugin extension's plugin.json
, you will get the following error when you attempt to build you app:
/public
to src/assets
.logoUrl
in your plugin.json
to reflect the new relative path from the plugin.json
to the logo file in src/assets
.The following example shows an app before migration, details the migration process, then shows how the app looks after migration.
Move logo.svg
from public/
to src/assets/
.
Change logoUrl
in the plugin.json
to ../../../../assets/logo.svg