vuejs / component-compiler-utils

Lower level utilities for compiling Vue single file components
319 stars 75 forks source link

Vue loader breaks with version 3.0.1 #73

Closed milewski closed 4 years ago

milewski commented 4 years ago

version v3.0.1 is missing the lib folder, which causes:

node_modules/vue-loader/lib/index.d.ts:2:37 - error TS2307: Cannot find module '@vue/component-compiler-utils/lib/types'.

2 import { VueTemplateCompiler } from '@vue/component-compiler-utils/lib/types'
sodatea commented 4 years ago

It's vue-loader that has referred to the wrong entry, actually. But I've released a new version to fix it anyway, in case any other downstream libraries made the same mistake.