misc_pterodactyl-panel/resources/scripts/components/server/features/index.ts

13 lines
632 B
TypeScript
Raw Normal View History

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-09-12 22:22:34 +00:00
const JavaVersionModalFeature = lazy(() => import(/* webpackChunkName: "feature.java_version" */'feature/java_version/JavaVersionModalFeature'));
export { EulaModalFeature, JavaVersionModalFeature };