feat: webpack chunk name is updated (#1562)

This commit is contained in:
palashgdev 2022-09-13 12:00:09 +05:30 committed by GitHub
parent c43dabdb0b
commit 0806397816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 4 additions and 7 deletions

View File

@ -35,11 +35,8 @@ export const SettingsPage = Loadable(
() => import(/* webpackChunkName: "SettingsPage" */ 'pages/Settings'), () => import(/* webpackChunkName: "SettingsPage" */ 'pages/Settings'),
); );
export const InstrumentationPage = Loadable( export const GettingStarted = Loadable(
() => () => import(/* webpackChunkName: "GettingStarted" */ 'pages/GettingStarted'),
import(
/* webpackChunkName: "InstrumentationPage" */ 'pages/AddInstrumentation'
),
); );
export const DashboardPage = Loadable( export const DashboardPage = Loadable(

View File

@ -11,7 +11,7 @@ import {
EditAlertChannelsAlerts, EditAlertChannelsAlerts,
EditRulesPage, EditRulesPage,
ErrorDetails, ErrorDetails,
InstrumentationPage, GettingStarted,
ListAllALertsPage, ListAllALertsPage,
Login, Login,
Logs, Logs,
@ -85,7 +85,7 @@ const routes: AppRoutes[] = [
{ {
path: ROUTES.INSTRUMENTATION, path: ROUTES.INSTRUMENTATION,
exact: true, exact: true,
component: InstrumentationPage, component: GettingStarted,
isPrivate: true, isPrivate: true,
key: 'INSTRUMENTATION', key: 'INSTRUMENTATION',
}, },