Skip to content

Commit

Permalink
Add static target
Browse files Browse the repository at this point in the history
  • Loading branch information
dlabrecq committed Sep 10, 2024
1 parent 318e8f9 commit 687e296
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
11 changes: 5 additions & 6 deletions src/appEntry.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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(),
Expand Down

0 comments on commit 687e296

Please sign in to comment.