Skip to content
New issue

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

browserslist extends clause not supported #318

Open
sventschui opened this issue Jan 29, 2021 · 1 comment
Open

browserslist extends clause not supported #318

sventschui opened this issue Jan 29, 2021 · 1 comment

Comments

@sventschui
Copy link
Member

Putting an extends my-node-module inside browserslist in package.json crashes wmr with the following error:

Error: Dynamic requires are not currently supported by @rollup/plugin-commonjs
@developit
Copy link
Member

Seems like browserslist must be doing a dynamic require() to get the extends value. I think we should be able to allow-list it somehow here:

exclude: [/\.mjs$/, /\/rollup\//, resolve('src')],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants