Skip to content

Commit

Permalink
octokit errors found. Rewinding and fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshraze committed Feb 3, 2025
1 parent 2ef5713 commit 9fbde22
Show file tree
Hide file tree
Showing 5 changed files with 1,211 additions and 1,235 deletions.
18 changes: 9 additions & 9 deletions frontend/cypress/component/headerHeader.cy.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react'
import Header from '../../components/header'

describe('<Header />', () => {
it('renders', () => {
// see: https://on.cypress.io/mounting-react
cy.mount(<Header />)
})
})
import React from 'react';
import Header from '../../components/header';

describe('<Header />', () => {
it('renders', () => {
// see: https://on.cypress.io/mounting-react
cy.mount(<Header />);
});
});
7 changes: 5 additions & 2 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const nextConfig = withBundleAnalyzer({
resolveExtensions: ['.mdx', '.tsx', '.ts', '.jsx', '.js', '.mjs', '.json']
}
},
transpilePackages: ['@mui/material', '@mui/utils'],
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = { fs: false };
Expand All @@ -20,7 +19,11 @@ const nextConfig = withBundleAnalyzer({
if (rule.use && (rule.use.loader === 'next-swc-loader' || rule.use.loader?.includes('next-swc-loader'))) {
rule.exclude = [
...(rule.exclude || []),
/node_modules[\\/]@mui[\\/]/ // Exclude MUI packages
/node_modules[\\/]@mui[\\/]/, // Exclude MUI packages
/node_modules[\\/]@mui[\\/]material[\\/]/, // Exclude MUI Material
/node_modules[\\/]@mui[\\/]utils[\\/]/, // Exclude MUI Utils
/node_modules[\\/]@mui[\\/]system[\\/]/, // Exclude MUI System
/node_modules[\\/]@mui[\\/]private-theming[\\/]/ // Exclude MUI Private Theming
];
}
});
Expand Down
Loading

0 comments on commit 9fbde22

Please sign in to comment.