Skip to content

Commit

Permalink
ref(build): Remove runtime.js (#27389)
Browse files Browse the repository at this point in the history
We're seeing some mismatches between runtime and app. Let's just inline runtime into app.js
  • Loading branch information
evanpurkhiser authored Jul 14, 2021
1 parent f8ab1a6 commit 9d35c2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/sentry/templates/sentry/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,6 @@
{% endscript %}

{% block scripts %}
{% unversioned_asset_url "sentry" "entrypoints/runtime.js" as asset_url %}
{% script src=asset_url %}{% endscript %}

{% block scripts_main_entrypoint %}
{% unversioned_asset_url "sentry" "entrypoints/app.js" as asset_url %}
{% script src=asset_url data-entry="true" %}{% endscript %}
Expand Down
1 change: 0 additions & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ let appConfig: Configuration = {
optimization: {
chunkIds: 'named',
moduleIds: 'named',
runtimeChunk: {name: 'runtime'},
splitChunks: {
// Only affect async chunks, otherwise webpack could potentially split our initial chunks
// Which means the app will not load because we'd need these additional chunks to be loaded in our
Expand Down

0 comments on commit 9d35c2a

Please sign in to comment.