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
else
preload_link_tag(path, options)
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
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