Bug report
What is the current behavior?
install @babel/runtime-corejs3
for file index.js
import '@babel/runtime-corejs3/helpers/esm/defineProperty'
and run webpack ./index.js
ERROR in ./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js 1:0-74
Module not found: Error: Can't resolve '../../core-js/object/define-property' in 'xxx\node_modules\@babel\runtime-corejs3\helpers\esm'
@ ./index.js 1:0-58
beta.29 is working properly on this.
but if we manually edit line 1 in file ./node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js
from
import _Object$defineProperty from "../../core-js/object/define-property";
to
import _Object$defineProperty from "../../core-js/object/define-property.js";
and this issue goes away.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Other relevant information:
webpack version: 5.0.0-beta.30
Node.js version: 12.16.1
Operating System: win10 2004
Additional tools:
at the time I'm using @babel/runtime-corejs3@^7.11.2