forked from topcoder-platform/topcoder-react-utils
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
In ProgressCurrently in works, but not clear, how many time it will get to complete.Currently in works, but not clear, how many time it will get to complete.P1High priority. Important thing to focus on.High priority. Important thing to focus on.
Description
The following breaks resolution of @babel/runtime
inside e2e Jest tests, as in that case the context
is set to the test location, not to the codebase root, where node_modules
folder is located.
react-utils/config-ts-src/webpack/app-base.ts
Lines 383 to 391 in 51edd51
// NOTE: The "conditionNames" workaround below messes up the loading of | |
// Babel's runtime helper for require of CJS and ES styles of modules | |
// (without this alias it is resolved to | |
// @babel/runtime/helpers/esm/interopRequireDefault, which has | |
// the hepler function attached to "default" export). | |
'@babel/runtime/helpers/interopRequireDefault': path.resolve( | |
o.context, | |
'node_modules/@babel/runtime/helpers/interopRequireDefault', | |
), |
Metadata
Metadata
Assignees
Labels
In ProgressCurrently in works, but not clear, how many time it will get to complete.Currently in works, but not clear, how many time it will get to complete.P1High priority. Important thing to focus on.High priority. Important thing to focus on.