Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Prevent corruption of binary asset types during copy #7

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

jacobdeichert
Copy link
Owner

Because I was reading all non-js/svelte files as utf8 and then writing them to the dist dir, this completely corrupted images and binary assets.

Now i just copy all non-svelte/js files directly instead of trying to read them... also much faster!

Because I was reading all non-js/svelte files as utf8 and then writing them to the dist dir, this completely corrupted images and binary assets.
@jacobdeichert jacobdeichert merged commit a7b4944 into master Jan 20, 2020
@jacobdeichert jacobdeichert deleted the fix-asset-file-error branch January 20, 2020 05:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant