Skip to content

Commit 9a8bf8f

Browse files
fix: serializing big strings
1 parent 69aa92b commit 9a8bf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export function pitch(request) {
225225
return {
226226
identifier: module.identifier(),
227227
context: module.context,
228-
content,
228+
content: Buffer.from(content),
229229
media,
230230
sourceMap,
231231
};

0 commit comments

Comments
 (0)