Skip to content

Commit 8a3fd02

Browse files
committed
update
1 parent 684aa50 commit 8a3fd02

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

scripts/bundle-metadata-plugin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ function setupHermescWrapper() {
128128

129129
console.log('🔧 [Hermesc Setup] Starting hermesc wrapper setup...');
130130

131-
// 使用项目根目录来定位 hermesc
132131
const hermescLocations = [
133132
{
134133
path: path.join(PROJECT_ROOT, 'node_modules/react-native/sdks/hermesc/osx-bin/hermesc'),
@@ -163,8 +162,6 @@ function metadataSerializer(entryPoint, preModules, graph, options) {
163162
const contentHash = calculateContentHash(bundleCode);
164163
const metadataInjection = generateMetadataInjection(contentHash);
165164
const metadataComment = generateMetadataComment(contentHash);
166-
167-
// hash 文件保存在项目根目录
168165
const hashFilePath = path.join(PROJECT_ROOT, 'bundle-hash.json');
169166

170167
try {

scripts/hermesc-wrapper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ hermesc.on('close', (code) => {
4343
});
4444

4545
function processHBCFile(hbcFilePath) {
46-
// hash 文件在项目根目录
4746
const hashFilePath = path.join(PROJECT_ROOT, 'bundle-hash.json');
4847

4948
if (!fs.existsSync(hashFilePath)) {

0 commit comments

Comments
 (0)