File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,10 +196,10 @@ class VueProgram {
196
196
}
197
197
198
198
private static resolveScriptBlock ( content : string ) : ResolvedScript {
199
- // We need to import vue-template-compiler dinamically because cannot include it as direct dependency.
200
- // The reason is that it should not mismatch the versions with user-installed vue-template-compiler
201
- // while it is an optional dependency for fork-ts-checker-webpack-plugin.
202
- // So here we load the compiler and throws when it is not in the user's dependencies .
199
+ // We need to import vue-template-compiler lazily because it is cannot be included it
200
+ // as direct dependency because it is an optional dependency of fork-ts-checker-webpack-plugin.
201
+ // Since its version must not mismatch with user-installed vue-template-compiler,
202
+ // we should let the users install vue-template-compiler by themselves .
203
203
let parser : typeof vueCompiler ;
204
204
try {
205
205
// tslint:disable-next-line
You can’t perform that action at this time.
0 commit comments