diff --git a/package.json b/package.json index fd9abd8ba..5ad1f2882 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "start:hmr": "HMR=true npm start", "start:local:api": "LOCAL_API_PORT=8000 LOCAL_API_HOST=localhost KEYCLOAK_PORT=4020 npm start", "start:mfe": "FEC_STATIC_PORT=8003 npm run start", + "start:static": "fec static --port=8004", "stats": "npm run build:prod --profile --json > stats.json", "test": "jest --no-cache", "test:clean": "jest --clearCache", diff --git a/src/appEntry.tsx b/src/appEntry.tsx index cc548ecbc..e1624c553 100644 --- a/src/appEntry.tsx +++ b/src/appEntry.tsx @@ -1,4 +1,9 @@ /* eslint-disable no-console */ +// Todo: Uncomment for use with non-shared PatternFly packages +// import '@patternfly/patternfly/patternfly.css'; +import '@patternfly/patternfly/patternfly-addons.css'; +import './styles/global.css'; + import NotificationsPortal from '@redhat-cloud-services/frontend-components-notifications/NotificationPortal'; import IntlProvider from '@redhat-cloud-services/frontend-components-translations/Provider'; import { getLocale } from 'components/i18n'; @@ -10,12 +15,6 @@ import messages from '../locales/data.json'; import App from './app'; import { configureStore } from './store'; -// Todo: Uncomment for use with non-shared PatternFly packages -// require.resolve('@patternfly/patternfly/patternfly.css'); -require.resolve('@patternfly/patternfly/patternfly-addons.css'); - -import './styles/global.css'; - const costStore = configureStore({ // session: { // token: getToken(),