We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c6dffe commit b5261fbCopy full SHA for b5261fb
src/checkSyntax.ts
@@ -37,6 +37,13 @@ export class CheckSyntax {
37
rootPath: string;
38
},
39
) {
40
+ if (!options) {
41
+ throw new Error('[CheckSyntaxRspackPlugin] `options` is required.');
42
+ }
43
+ if (!options.targets) {
44
+ throw new Error('[CheckSyntaxRspackPlugin] `targets` option is required');
45
46
+
47
this.targets = options.targets;
48
this.exclude = options.exclude;
49
this.excludeOutput = options.excludeOutput;
0 commit comments