Commit b7595370 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-monaco-chunk-prefetch-in-dev' into 'master'

Fix monaco chunk errors during development

See merge request gitlab-org/gitlab!78202
parents 43dbe571 ec6a2a3b
...@@ -25,6 +25,10 @@ module WebpackHelper ...@@ -25,6 +25,10 @@ module WebpackHelper
else else
preload_link_tag(path, options) preload_link_tag(path, options)
end end
rescue Gitlab::Webpack::Manifest::AssetMissingError
# In development/test, incremental compilation may be enabled, meaning not
# all chunks may be available/split out
raise unless Gitlab.dev_or_test_env?
end end
def webpack_controller_bundle_tags def webpack_controller_bundle_tags
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment