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

chore: update build tooling to drop older browser support #276

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

alex-barstow
Copy link
Contributor

Description

NOTE: BREAKING CHANGE!

This updates the default browserslist used by babel. It drops support for some older browsers including IE 11. This also removes the browserslist in package.json so we use the default list from @videojs/babel-config (linked above).

@@ -1,7 +1,7 @@
import {version as VERSION} from '../package.json';
import window from 'global/window';
import document from 'global/document';
import WebVRPolyfill from 'webvr-polyfill';
import WebVRPolyfill from 'webvr-polyfill/src/webvr-polyfill';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The WebVRPolyfill module doesn't have ES6 build output, and @rollup/plugin-commonjs apparently has problems bundling it into our build output. I experimented with various other rollup plugins, but wasn't successful in getting it to work. However, importing from the src/ directory, which does export an ES6 module, does seem to work.

@gkatsev
Copy link
Member

gkatsev commented Jan 27, 2023

I think we should get #273 merged in before this

@alex-barstow
Copy link
Contributor Author

After some offline discussion we decided it's OK to merge this in before #273.

@alex-barstow alex-barstow merged commit 0947a0f into main Feb 15, 2023
@alex-barstow alex-barstow deleted the update-tooling branch February 15, 2023 20:42
mister-ben pushed a commit to mister-ben/videojs-vr that referenced this pull request Dec 4, 2023
BREAKING CHANGE: This drops support for older browsers such as IE
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 this pull request may close these issues.

3 participants