Skip to content

Commit ff85f41

Browse files
authored
downgrade next to fix firefox incompatibility (#258)
## Summary The local html report was broken on firefox. There is some issue caused by Next.js. I tried many things and finally fixed it by downgrading the version from 15 to 13. Other changes in here include removing dynamic exports which have long been unneeded and were contributing to the firefox issues. Also after downgrading versions there were other things that broke that have been updated here. I'll report the issue with Next.js 15 and hopefully this can be further investigated so we can upgrade again in the future. ## Details - Remove most of the dynamic exports - Downgrade from Next.js 15.3.4 to 13.4.0. - Fix ensuing issues created by downgrade including eslint.config.js issues, change next config from .ts to .mjs, add experimental esmExternals config option, remove cypress lint config globals as they were breaking. ## Test Plan - Mostly just need to get all of the checks passing and ensure cypress tests still function. The app works in firefox now. --- "I certify that all code in this PR is my own, except as noted below." ## Use of AI None Signed-off-by: dalthecow <[email protected]>
1 parent 7c6e0ff commit ff85f41

File tree

8 files changed

+673
-883
lines changed

8 files changed

+673
-883
lines changed

eslint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ export default tseslint.config(
137137
project: './tsconfig.cypress.json',
138138
tsconfigRootDir: __dirname,
139139
},
140-
// FIX: This is the correct way to get globals from the Cypress plugin's recommended config.
141-
globals: cypressPlugin.configs.recommended.languageOptions.globals,
142140
},
143141
plugins: {
144142
cypress: cypressPlugin,

0 commit comments

Comments
 (0)