Commit d2b6fdbc authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch...

Merge branch '223221-refactor-code-to-prevent-echarts-from-being-included-in-the-mr-bundles' into 'master'

Prevent echarts from being loaded on MR page

See merge request gitlab-org/gitlab!72943
parents ce5e286a 4d52fbba
...@@ -12,13 +12,12 @@ import { ...@@ -12,13 +12,12 @@ import {
CANCELED, CANCELED,
SKIPPED, SKIPPED,
} from './constants'; } from './constants';
import MemoryUsage from './memory_usage.vue';
export default { export default {
name: 'DeploymentInfo', name: 'DeploymentInfo',
components: { components: {
GlLink, GlLink,
MemoryUsage, MemoryUsage: () => import('./memory_usage.vue'),
TooltipOnTruncate, TooltipOnTruncate,
}, },
directives: { directives: {
......
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
import { GlSprintf } from '@gitlab/ui'; import { GlSprintf } from '@gitlab/ui';
import { n__ } from '~/locale'; import { n__ } from '~/locale';
import MrCollapsibleExtension from '../mr_collapsible_extension.vue'; import MrCollapsibleExtension from '../mr_collapsible_extension.vue';
import Deployment from './deployment.vue';
export default { export default {
components: { components: {
Deployment: () => import('./deployment.vue'), Deployment,
GlSprintf, GlSprintf,
MrCollapsibleExtension, MrCollapsibleExtension,
}, },
......
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