-
Notifications
You must be signed in to change notification settings - Fork 1
[SKUNK] Optimizations - Upgrade to Next13, reduce bundle size, fix security bug, etc. #471
base: main
Are you sure you want to change the base?
Conversation
Coverage report❌ An unexpected error occurred. For more details, check console
Test suite run success117 tests passing in 36 suites. Report generated by 🧪jest coverage report action from 6f8a628 |
src/components/truncate/index.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pablosichert/react-truncate#153 - may be worth exploring this option to adding this file.
@@ -23,7 +23,9 @@ import { | |||
} from '../utils/seo'; | |||
import { customCache } from '../utils/emotion'; | |||
|
|||
import '../../mocks/run-msw'; | |||
if (process.env.NEXT_PUBLIC_API_MOCKING === 'enabled') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this related to Nextjs upgrade ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No this is related to bundle size.
6f8a628
to
a46c08f
Compare
Coverage report
Test suite run success117 tests passing in 36 suites. Report generated by 🧪jest coverage report action from a46c08f |
Worked on some optimizations during skunkworks. Wanted to make the client-side first-load js bundles smaller, but flora is not optimized for that. Still, the total bundle size now does not include the mocks, and we are on Next.js 13, which has a number of unstable features to help performance that we can leverage once they become stable.