web: add Sentry loader to the development server html template
Created by: valerybugakov
Context
The Sentry loader wasn't added to the development server template, and in non-dotcom mode, that's why the ErrorBoundary
could throw an error.
Changes
- The Sentry loader is added to the HTML template used by the Webpack dev server.
- The Sentry call in the
ErrorBoundary
is guarded by the existence check.