2020-11-02 20:52:41 -08: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).
|
|
|
|
*/
|
2021-07-09 12:58:06 -06:00
|
|
|
const EulaModalFeature = lazy(() => import(/* webpackChunkName: "feature.eula" */'feature/eula/EulaModalFeature'));
|
2022-01-08 15:20:23 -07:00
|
|
|
const JavaVersionModalFeature = lazy(() => import(/* webpackChunkName: "feature.java_version" */'feature/JavaVersionModalFeature'));
|
|
|
|
const GSLTokenModalFeature = lazy(() => import(/* webpackChunkName: "feature.gsl_token" */'feature/GSLTokenModalFeature'));
|
2020-11-02 20:52:41 -08:00
|
|
|
|
2021-12-04 19:29:24 +01:00
|
|
|
export { EulaModalFeature, JavaVersionModalFeature, GSLTokenModalFeature };
|