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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

AndroidChrome in browserslist breaks env.supports checks #8444

Closed
mischnic opened this issue Sep 5, 2022 · 0 comments 路 Fixed by #8447
Closed

AndroidChrome in browserslist breaks env.supports checks #8444

mischnic opened this issue Sep 5, 2022 · 0 comments 路 Fixed by #8447

Comments

@mischnic
Copy link
Member

mischnic commented Sep 5, 2022

馃悰 bug report

let env = new (require('@parcel/core/src/public/Environment.js').default)({
  context: 'browser',
  engines: {
    browsers: ['last 1 Chrome version', 'last 1 ChromeAndroid version'],
  },
  outputFormat: 'esmodule',
});

console.log(env.supports('arrow-functions'));

馃 Expected Behavior

True

馃槸 Current Behavior

False

馃實 Your Environment

Software Version(s)
Parcel 3329469
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant