This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Closed
Description
We are running into a regression with v3.3.0 when creating an UMD bundle that includes the NPM module oauthio-web.
Including the UMD bundle in a web page results in this error:
Uncaught ReferenceError: require is not defined
I created a repository to demonstrate the error:
https://github.com/Redsift/rollup-common-js-regression
Running
npm install
npm start
opens a browser window. Opening the index.html
there shows the error in the developer console.
The code works fine with v3.0.2.
It seems that this regression could be related to the following code change:
rollup-plugin-commonjs/src/index.js
Line 175 in c2d064d
Thanks!
Metadata
Assignees
Labels
No labels