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

Change babel.config.js sourceType to unamiguous #2417

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

MrLemur
Copy link
Contributor

@MrLemur MrLemur commented Feb 15, 2021

Changes
This should tell Babel to look into each file and treat it as a module or a script This is helpful as some dependencies are moving to TypeScript 2.7 and causing issues in the client.

Letting babel decide on what polyfills to use has had no impact on the client from my limited testing and fixes the below issue.

Issues
Fixes #2405

@sonarcloud
Copy link

sonarcloud bot commented Feb 15, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@thornbill
Copy link
Member

I was able to replicate the issue by removing node_modules, upgrading node, and running an install.

Confirmed that this change seems to have fixed the issues in the dashboard.

@thornbill thornbill added the stable backport Backport into the next stable release label Feb 16, 2021
@thornbill thornbill added this to Active PRs in Release 10.7.0 via automation Feb 16, 2021
@dkanada dkanada merged commit fee5731 into jellyfin:master Feb 17, 2021
Release 10.7.0 automation moved this from Active PRs to Completed PRs Feb 17, 2021
@MrLemur MrLemur deleted the source-type-change branch February 17, 2021 08:15
joshuaboniface pushed a commit that referenced this pull request Feb 21, 2021
Change babel.config.js sourceType to unamiguous

(cherry picked from commit fee5731)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
@joshuaboniface joshuaboniface moved this from Completed PRs to Jellyfinished in Release 10.7.0 Feb 21, 2021
@joshuaboniface joshuaboniface removed the stable backport Backport into the next stable release label Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Release 10.7.0
  
Jellyfinished
Development

Successfully merging this pull request may close these issues.

Admin dashboard not loading properly
4 participants