From 54f73583574f7e556d3f51f8730633d0940cc189 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Thu, 21 Mar 2024 21:03:34 +0800 Subject: [PATCH] chore: ignore sourcemap --- src/bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle.js b/src/bundle.js index 9d92af7..38fe987 100644 --- a/src/bundle.js +++ b/src/bundle.js @@ -235,7 +235,7 @@ async function pack(dir, output) { } const childs = fs.readdirSync(root); for (const name of childs) { - if (name === '.' || name === '..') { + if (name === '.' || name === '..' || name === 'index.bundlejs.map') { continue; } const fullPath = path.join(root, name);