npm-opa-wasm icon indicating copy to clipboard operation
npm-opa-wasm copied to clipboard

Containing data inside a `WASM`

Open shkup opened this issue 1 year ago • 0 comments

When I create a regular bundle I can contain there both data and policy. I would like to request a similar option when creating a wasm file. Sometimes the data is a json file that reading it, parsing it and set it by a loadData call is cumbersome and costly in terms of performance. Also, it will be nice if the build -t wasmcommand will create a wasm directly rather a bundle file that you need to extract the wasm file from (Not the end of the work though but I think makes sense that this is like a "compilation" product).

shkup avatar Mar 28 '24 09:03 shkup