We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 6dc32da commit 3888fe8Copy full SHA for 3888fe8
packages/core/src/compile.ts
@@ -32,6 +32,12 @@ export async function compile(options: CompileOptions = {}) {
32
(options.entry || []).forEach((fileNames) => err.push(` \x1b[35;1m${fileNames}\x1b[0m`));
33
!options.entry?.length &&
34
err.push('\x1b[33;1mNo files were indexed. Please check your command line arguments.\x1b[0m');
35
+ if (process.platform === 'win32') {
36
+ err.push('\n Please note that on \x1b[33;1mWindows\x1b[0m platform, double(") quotes should be used to ');
37
+ err.push(" index file parameters instead of single(') quotes.\n");
38
+ err.push(' Correct usage: \x1b[32;1m"src/*.tsx"\x1b[0m');
39
+ err.push(" Incorrect usage: \x1b[31;1m'src/*.tsx'\x1b[0m");
40
+ }
41
throw new Error(err.join('\n'));
42
}
43
babelTransform(options);
0 commit comments