Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Oct 24, 2020

Fixes #406 .

Changes proposed in this pull request:

  • Add language fallback ("js") for template code (so it's able to be transformed by babel).

/ping @znck

src/index.ts Outdated
const scopedQuery = hasScoped ? `&scoped=true` : ``
const srcQuery = descriptor.template.src ? `&src` : ``
const attrsQuery = attrsToQuery(descriptor.template.attrs)
const attrsQuery = attrsToQuery(descriptor.template.attrs, 'js')
Copy link
Member

Choose a reason for hiding this comment

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

Add true as third argument to always force .js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants