Skip to content

Commit

Permalink
1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bddjr committed Jan 10, 2025
1 parent 5ab62f6 commit b9077a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ async function generateBundle(bundle: OutputBundle, config: ResolvedConfig, opti

// fill script
newHtml = newHtml.split('self.__vitePluginSinglefileCompression=1', 2).join(
'/*vite-plugin-singlefile-compression*/' + (
'\n//vite-plugin-singlefile-compression\n' + (
options.useBase128
? templateBase128.join(gzipToBase128(newJSCode.toString()))
: template.join(gzipToBase64(newJSCode.toString()))
Expand Down

0 comments on commit b9077a1

Please sign in to comment.