zkl-crypto/webpack.config.js
Yigid BALABAN 4fcdcb65bd
add file name support for encryptFile & decryptFile
also adds supporting methods l/e int32 byteArray2int & int2byteArray
creates TextEncoder, TextDecoder objects in global module scope
creates magic value METADATA_LENGTH of 1020 + 4 (4 bytes * 255 chars, 4
bytes for int32)
2024-09-10 18:31:28 +03:00

14 lines
235 B
JavaScript

const path = require("path");
module.exports = {
entry: "./index.js",
output: {
filename: "bundle.js",
path: path.resolve(__dirname, "dist"),
},
experiments: {
syncWebAssembly: true,
},
mode: "development",
};