File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,7 @@ const appConfig: Configuration = {
469
469
// `yarn why` says this is only needed in dev deps
470
470
string_decoder : false ,
471
471
// For framer motion v6, might be able to remove on v11
472
- 'process/browser' : require . resolve ( 'process/browser' ) ,
472
+ 'process/browser' : import . meta . resolve ( 'process/browser' ) ,
473
473
} ,
474
474
475
475
// Prefers local modules over node_modules
@@ -805,7 +805,7 @@ if (IS_PRODUCTION) {
805
805
}
806
806
807
807
if ( CODECOV_TOKEN && ENABLE_CODECOV_BA ) {
808
- const { codecovWebpackPlugin} = require ( '@codecov/webpack-plugin' ) ;
808
+ const { codecovWebpackPlugin} = await import ( '@codecov/webpack-plugin' ) ;
809
809
// defaulting to an empty string which in turn will fallback to env var or
810
810
// determine merge commit sha from git
811
811
const GH_COMMIT_SHA = env . GH_COMMIT_SHA ?? '' ;
You can’t perform that action at this time.
0 commit comments