You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Served through NPM should use the minified JS and CSS resources, while development the ones with a source map while preserving being able to serve through GitHub Pages. Essentially we need to serve a different index.html file in each case. So:
For GitHub Pages and NPM app we use a static index.html file that points to a minified version of the app.
For development we use a flag that injects a dynamic index.html file pointing to unminified builds.
The text was updated successfully, but these errors were encountered:
Served through NPM should use the minified JS and CSS resources, while development the ones with a source map while preserving being able to serve through GitHub Pages. Essentially we need to serve a different index.html file in each case. So:
The text was updated successfully, but these errors were encountered: