-
-
Notifications
You must be signed in to change notification settings - Fork 604
Closed
Description
- Rollup Plugin Name:
node-resolve
- Rollup Plugin Version:
v8.0.0
- Rollup Version:
1.25.2
(throughbroccoli-rollup
) - Operating System (or Browser): macOS
- Node Version:
12.16.2
How Do We Reproduce?
https://repl.it/@alexlafroscia1/UnsightlyAliceblueExternalcommand
Expected Behavior
The plugin function would be accessible by requiring @rollup/plugin-node-resolve
Actual Behavior
The package no longer has a "default export" of the plugin function when importing through Node rather than ESM. While configuring Rollup directly supports the ESM style, configuring Rollup i
indirectly (like in our case, through the Broccoli wrapper plugin) does not.
Since the default ESM export is a function, I would expect the same to be true when requiring it in Node.
alexanderby
Metadata
Metadata
Assignees
Labels
No labels