Browse Source

ref(build): Remove runtime.js (#27389)

We're seeing some mismatches between runtime and app. Let's just inline runtime into app.js
Evan Purkhiser 3 years ago
parent
commit
9d35c2a997
2 changed files with 0 additions and 4 deletions
  1. 0 3
      src/sentry/templates/sentry/layout.html
  2. 0 1
      webpack.config.ts

+ 0 - 3
src/sentry/templates/sentry/layout.html

@@ -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 %}

+ 0 - 1
webpack.config.ts

@@ -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