We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require.resolve
Rslib 0.0.16
// index.ts import { require } from './require'; console.log(require.resolve('@rslib/core')); // require.ts import { createRequire } from 'module'; export const require = createRequire(import.meta.url);
import * as __WEBPACK_EXTERNAL_MODULE_module__ from "module"; const require_require = (0, __WEBPACK_EXTERNAL_MODULE_module__.createRequire)(import.meta.url); console.log(require_require('@rslib/core'));
import * as __WEBPACK_EXTERNAL_MODULE_module__ from "module"; const require_require = (0, __WEBPACK_EXTERNAL_MODULE_module__.createRequire)(import.meta.url); - console.log(require_require('@rslib/core')); + console.log(require_require.resolve('@rslib/core'));
https://github.com/chenjiahan/rslib-repro-esm-require-resolve
The text was updated successfully, but these errors were encountered:
Seems like a parsing issue with Rspack initially.
Sorry, something went wrong.
fi3ework
No branches or pull requests
Version
Details
Reproduce link
https://github.com/chenjiahan/rslib-repro-esm-require-resolve
Reproduce Steps
The text was updated successfully, but these errors were encountered: