2020-11-03 04:52:41 +00:00
|
|
|
import { lazy } from 'react';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom features should be registered here as lazy components so that they do
|
|
|
|
* not impact the generated JS bundle size. They will be automatically loaded in
|
|
|
|
* whenever they are actually loaded for the client (which may be never, depending
|
|
|
|
* on the feature and the egg).
|
|
|
|
*/
|
|
|
|
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'@feature/eula/EulaModalFeature'));
|
2021-08-04 03:11:45 +00:00
|
|
|
const JavaVersionModalFeature = lazy(() => import(/* webpackChunkName: "feature.java_version" */'@feature/JavaVersionModalFeature'));
|
2021-12-04 18:29:24 +00:00
|
|
|
const GSLTokenModalFeature = lazy(() => import(/* webpackChunkName: "feature.gsl_token" */'@feature/GSLTokenModalFeature'));
|
2022-01-18 03:02:10 +00:00
|
|
|
const PIDLimitModalFeature = lazy(() => import(/* webpackChunkName: "feature.pid_limit" */'@feature/PIDLimitModalFeature'));
|
2022-01-18 20:00:10 +00:00
|
|
|
const SteamDiskSpaceFeature = lazy(() => import(/* webpackChunkName: "feature.steam_disk_space" */'@feature/SteamDiskSpaceFeature'));
|
2020-11-03 04:52:41 +00:00
|
|
|
|
2022-01-18 20:00:10 +00:00
|
|
|
export { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature, PIDLimitModalFeature, SteamDiskSpaceFeature };
|