diff --git a/.gitignore b/.gitignore index 2482fe6..6fe1950 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,7 @@ node_modules/ dist/ # Editor -.vscode/ \ No newline at end of file +.vscode/ + +# For local testing w/ `npm pack` +*.tgz \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 4b90e43..43c5851 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,14 +12,7 @@ export default class implements ConnectPlugin { } async process(context: ComponentConfig): Promise { - /** - * @TODO Determine if we can switch to `PrismLang.HTML` - * Vue templates have no perfect analog in Prism-supported languages, - * though they're more similar to HTML than JSX. - * For now, `PrismLang.Markup` is a great solution; - * see https://github.com/zeplin/connected-components-beta-issues/issues/4#issuecomment-562738427 - */ - const lang = PrismLang.Markup + const lang = PrismLang.HTML const componentInfo = await parse(context.path)