Skip to content

Don't include web/compatibility.js in the output for gulp lib (PR 8120 follow-up) #8130

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

Merged
merged 1 commit into from
Mar 4, 2017
Merged

Don't include web/compatibility.js in the output for gulp lib (PR 8120 follow-up) #8130

merged 1 commit into from
Mar 4, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

First of all, compatibility.js is already available in lib/shared/compatibility.js. Second of all, as can be seen in mozilla/pdfjs-dist@9142301#diff-9432ebaa58e10ab02874fcb86f689caa, the lib/web/compatibility.js file cannot work since the require statement isn't compatible with the output of gulp lib.

… 8120 follow-up)

First of all, `compatibility.js` is already available in `lib/shared/compatibility.js`. Second of all, as can be seen in mozilla/pdfjs-dist@9142301#diff-9432ebaa58e10ab02874fcb86f689caa, the `lib/web/compatibility.js` file cannot work since the `require` statement isn't compatible with the output of `gulp lib`.
@timvandermeij timvandermeij merged commit 754c4bd into mozilla:master Mar 4, 2017
@timvandermeij
Copy link
Contributor

Good catch, thanks!

@Snuffleupagus Snuffleupagus deleted the gulp-lib-rm-web-compatibility branch March 4, 2017 21:40
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…mpatibility

Don't include `web/compatibility.js` in the output for `gulp lib` (PR 8120 follow-up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants