+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

fix(playground): Script Type #3903

Merged
merged 1 commit into from
Nov 30, 2022
Merged

fix(playground): Script Type #3903

merged 1 commit into from
Nov 30, 2022

Conversation

MichaReiser
Copy link
Contributor

Summary

This PR fixes the Source Type Script option on the playground.

The issue is that Rome only parses cjs and cts files as scripts and all other extensions as modules. This PR updates the playground's extension mapping to correctly use cjs and cts for scripts

This PR fixes the Source Type `Script` option on the playground.

The issue is that Rome only parses `cjs` and `cts` files as scripts and all other extensions as modules. This PR
updates the playground's extension mapping to correctly use `cjs` and `cts` for scripts
@MichaReiser MichaReiser requested a review from a team as a code owner November 30, 2022 12:49
@netlify
Copy link

netlify bot commented Nov 30, 2022

Deploy Preview for docs-rometools ready!

Name Link
🔨 Latest commit 5675ce7
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/63875166bfebfd00089425ef
😎 Deploy Preview https://deploy-preview-3903--docs-rometools.netlify.app/playground
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@MichaReiser MichaReiser merged commit ba0b713 into main Nov 30, 2022
@MichaReiser MichaReiser deleted the fix/playground-script branch November 30, 2022 13:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载