rollup / plugins

🍣 The one-stop shop for official Rollup plugins
MIT License
3.57k stars 568 forks source link

CommonJS plugin version bump to 26.0.0 causes build issue #1731

Closed bpneal closed 4 weeks ago

bpneal commented 4 weeks ago

Expected Behavior

Rollup Builds successfully with commonJs Plugin

Actual Behavior

On Build, build fails with error SyntaxError: The requested module 'glob' does not provide an export named 'default'

Additional Information

shellscape commented 4 weeks ago

1695 introduced the change, and commonjs has the largest test suite in the repo. all tests and builds did pass. @younggglcy please work with @bpneal to triage this, see stackblitz link above.

shellscape commented 4 weeks ago

@bpneal for now I'd recommend downgrading to the last 25.x.x version.

shellscape commented 4 weeks ago

@bpneal I made a quick edit to the plugin and published 26.0.1. Please see if that resolves the issue on your end, I forked your stackblitz and it appeared to.

bpneal commented 4 weeks ago

@shellscape Looks like it is now all working as expected