Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: append trailing slash to PUBLIC_PATH
This reverts ae60b2d. We depend heavily on Webpack's `publicPath` for everything to work in MFEs that are hosted in sub-paths. This variable affects many things, including URLs that are automatically generated for things like static assets or lazily loaded chunks of code. If the trailing slash is not appended to, say, `/learning`, a React.lazy() will try to fetch this from Caddy, and fail: `/learning210.3f8d0b2a9dbf3b1f1e69.js` While this can (and probably should) be dealt with in frontend-platform, we do it here for now.
- Loading branch information