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 a130bab commit ac8cc9cCopy full SHA for ac8cc9c
packages/cli/webpack/webpack.mjs
@@ -30,7 +30,15 @@ const common = {
30
context: contextFolder,
31
target: 'node',
32
entry:
33
- glob.sync('./src/commands/**/*.ts').reduce((map, file) => Object.assign(map, {
+ glob.sync(
34
+ './src/commands/**/*.ts',
35
+ {
36
+ dotRelative: true,
37
+ nocase: true,
38
+ nodir: true,
39
+ posix: true
40
+ }
41
+ ).reduce((map, file) => Object.assign(map, {
42
[file.replace(/^.*commands[\//]([^.]+)\.ts$/i, 'commands/$1')]: {
43
dependOn: 'cli',
44
import: file,
0 commit comments