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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

@parcel/transformer-vue: Unknown script language: ".js" #7182

Closed
TheBojda opened this issue Oct 24, 2021 · 2 comments
Closed

@parcel/transformer-vue: Unknown script language: ".js" #7182

TheBojda opened this issue Oct 24, 2021 · 2 comments

Comments

@TheBojda
Copy link

TheBojda commented Oct 24, 2021

馃悰 bug report

Parcel's vue transformer cannot parse .vue files with external js.

<template>
    
</template>

<script src="./app.js">
</script>

This code throws: @parcel/transformer-vue: Unknown script language: ".js"

Parcel versions:
"@parcel/transformer-vue": "^2.0.0",
"parcel": "^2.0.0"

@TheBojda
Copy link
Author

Possible solution: Cut the first character of the file extension (the dot), because the switch uses 'js' instead of '.js'.

@mischnic
Copy link
Member

The fix for this was already merged: #7056

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

No branches or pull requests

2 participants