mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCPlugin] Accept all valid file extensions, not just js
This commit is contained in:
parent
9b36c9d799
commit
e2f529d7fc
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export default (manifestPath, repo) => {
|
|||
|
||||
writeFileSync(join(baseDir, `index.js`), content);
|
||||
|
||||
for (const jsFile of glob.sync(`${baseDir}/**/*.js`)) {
|
||||
for (const jsFile of glob.sync(`${baseDir}/**/*.{js,jsx,ts,tsx}`)) {
|
||||
console.log(jsFile);
|
||||
let content = readFileSync(jsFile, 'utf8');
|
||||
|
||||
|
|
Loading…
Reference in a new issue