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

Update vue-compiler-sfc-shim.js #5762

Closed
wants to merge 1 commit into from
Closed

Commits on Aug 7, 2020

  1. Update vue-compiler-sfc-shim.js

    https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/src/typescript-reporter/extension/vue/TypeScriptVueExtension.ts#L36
    
    fork-ts-checker-webpack-plugin-v5中判断是vue 3版本依据的是`typeof (compiler as VueTemplateCompilerV3).parse === 'function'`,而这个文件中的方法是parseComponent,导致fork-ts-checker-webpack-plugin-v5中判断是vue 2版本,无法正确处理vue文件中的ts编译。
    734364420 committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    f0f7c8f View commit details
    Browse the repository at this point in the history