Skip to content

Commit

Permalink
fix: convert JS Array to multiple Glob matching pattern (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: kevin bian <xbian@fortinet.com>
  • Loading branch information
mochazzxx and kevin bian committed Oct 7, 2022
1 parent 66c59af commit ce64361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -60,7 +60,7 @@ export default function plugin(
tsConfig,
compilerOptions,
parserOptions
)(await glob(Array.isArray(src) ? src.join(',') : src));
)(await glob(Array.isArray(src) ? `{${src.join(',')}}` : src));
},
configureWebpack(config) {
return {
Expand Down

0 comments on commit ce64361

Please sign in to comment.