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

Allow .astro files to be installed as JavaScript #3406

Merged
merged 1 commit into from Jun 3, 2021
Merged

Conversation

matthewp
Copy link
Contributor

@matthewp matthewp commented Jun 3, 2021

This is a stopgap solution. In the future we will have a better to control what file types get build as JavaScript by esinstall.

Changes

Adds .astro as a bundled type in esinstall.

Testing

Added a test that shows that .astro files will be built as JS.

Docs

N/A, bug fix.

This is a stopgap solution. In the future we will have a better to control what file types get build as JavaScript by esinstall.
@matthewp matthewp requested a review from a team as a code owner June 3, 2021 20:10
@vercel
Copy link

vercel bot commented Jun 3, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/8LV7LwzreyfPT697aohNNXWv2iRf
✅ Preview: https://snowpack-git-esastro-type-pikapkg.vercel.app

Copy link
Contributor

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

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

👍🏻 Looks good to me!

@matthewp matthewp merged commit afc6232 into main Jun 3, 2021
@matthewp matthewp deleted the esastro-type branch June 3, 2021 20:39
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.

None yet

2 participants