feat(plugins): inject API on window.__TAURI__ (#383)

This commit is contained in:
Lucas Fernandes Nogueira authored and GitHub committed 2023-05-23 14:20:14 -03:00
1 parent 3c8577bc9a
commit b131bc8f7c
78 files changed
+754 -337

No files matched your search

+4 -1
View File
@@ -24,7 +24,10 @@ const ignore = [
];
async function checkFile(file) {
if (extensions.some((e) => file.endsWith(e))) {
if (
extensions.some((e) => file.endsWith(e)) &&
!ignore.some((i) => file.endsWith(i))
) {
const fileStream = fs.createReadStream(file);
const rl = readline.createInterface({
input: fileStream,