@nartallax/parcel-transformer-bin-as-uint8-array
v1.0.2
Published
Plugin for Parcel that embeds binary files as Uint8Array
Downloads
5
Readme
Binary file transformer
This plugin will embed binary files as base64 into your bundle. In runtime that base64 will be parsed to Uint8Array
.
Install
Install the package:
npm install --save-dev @nartallax/parcel-transformer-bin-as-uint8-array
Then update .parcelrc
:
"transformers": {
"*.bin": ["...", "@nartallax/parcel-transformer-bin-as-uint8-array"]
}