chore(tooling): add decrypt mnemonic page

This commit is contained in:
kyranjamie
2022-11-07 18:18:57 +01:00
committed by kyranjamie
parent 5404f75598
commit befb98b50d
3 changed files with 80 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ const config = {
'content-script': path.join(SRC_ROOT_PATH, 'content-scripts', 'content-script.ts'),
index: path.join(SRC_ROOT_PATH, 'app', 'index.tsx'),
'decryption-worker': path.join(SRC_ROOT_PATH, 'shared/workers/decryption-worker.ts'),
debug: path.join(SRC_ROOT_PATH, '../scripts/debug.js'),
},
output: {
path: DIST_ROOT_PATH,
@@ -182,6 +183,12 @@ const config = {
filename: 'popup-center.html',
...HTML_PROD_OPTIONS,
}),
new HtmlWebpackPlugin({
template: path.join(SRC_ROOT_PATH, '../', 'public', 'html', 'debug.html'),
filename: 'debug.html',
title: 'Hiro Wallet—Debugger',
chunks: ['debug'],
}),
new GenerateJsonPlugin(
'manifest.json',
generateManifest(VERSION),