-
-
Notifications
You must be signed in to change notification settings - Fork 611
Open
Description
- Rollup Plugin Name:
- Rollup Plugin Version:
- Rollup Version:
- Operating System (or Browser):
- Node Version:
- Link to reproduction (
⚠️ read below):
Expected Behavior
Expected render external module path with absolute path.
Actual Behavior
Get render external module path with original module request path.
Additional Information
Run npm run rollup::build:without-node-resolve, it using node js resolve instead of node-resolve plugin, here output
import { rollup } from 'file:///home/projects/vbwimvyraa.github/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/rollup.js';Run npm run build:rollup, it using node resolver plugin, here output
import { rollup } from 'rollup';It caused by https://github.com/rollup/plugins/blob/master/packages/node-resolve/src/index.js#L329-L331. The rollup core is using 'file:///home/projects/vbwimvyraa.github/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/rollup.js' to check external and find it is a external absolute module. But the node-resolve plugin overwrite it.
Metadata
Metadata
Assignees
Labels
No labels