diff --git a/package.json b/package.json index f455de9..2a7e477 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-chunk-split", - "version": "0.4.3", + "version": "0.4.4", "description": "A vite plugin for better chunk split", "author": "sanyuan0704", "main": "dist/index.js", diff --git a/src/index.ts b/src/index.ts index 6942175..afb73c3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -188,6 +188,7 @@ export function chunkSplitPlugin( } return { code: code, + map: chunk.map, }; }, };