2023-04-19 09:18:27 +00:00
|
|
|
const { convertCommonJSToBrowserJS, genFile, buildStaticryptJS } = require("../cli/helpers.js");
|
2022-11-20 14:25:16 +00:00
|
|
|
|
|
|
|
const data = {
|
2022-11-23 22:20:46 +00:00
|
|
|
js_codec: convertCommonJSToBrowserJS("lib/codec"),
|
2023-03-29 14:12:44 +00:00
|
|
|
js_crypto_engine: convertCommonJSToBrowserJS("lib/cryptoEngine"),
|
2022-11-23 22:20:46 +00:00
|
|
|
js_formater: convertCommonJSToBrowserJS("lib/formater"),
|
2023-03-30 10:03:18 +00:00
|
|
|
js_staticrypt: buildStaticryptJS(),
|
2022-11-20 14:25:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
genFile(data, "./index.html", "./scripts/index_template.html");
|