mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
feat(plugins): inject API on window.__TAURI__ (#383)
This commit is contained in:
1 parent
3c8577bc9a
commit
b131bc8f7c
78 files changed
+754
-337
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user