From 68a0e51c94e58b869747d4605a2f1612fcdacdc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Allen=20Zhang=20=28=E5=BC=A0=E6=B6=9B=29?= Date: Tue, 15 Oct 2024 12:29:43 +0800 Subject: [PATCH] feat: update --- plugins/babel-plugin-canyon/package.json | 2 +- plugins/babel-plugin-canyon/src/index.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/babel-plugin-canyon/package.json b/plugins/babel-plugin-canyon/package.json index cc643dd6..df85a497 100644 --- a/plugins/babel-plugin-canyon/package.json +++ b/plugins/babel-plugin-canyon/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-canyon", - "version": "1.8.78-alpha.1", + "version": "1.8.79", "description": "", "main": "lib/index.js", "files": [ diff --git a/plugins/babel-plugin-canyon/src/index.js b/plugins/babel-plugin-canyon/src/index.js index d89e351e..21137d9d 100644 --- a/plugins/babel-plugin-canyon/src/index.js +++ b/plugins/babel-plugin-canyon/src/index.js @@ -76,7 +76,9 @@ export default declare((api,config) => { path.node.body.unshift(canyon) // TODO: 需要删除writeCanyonToLocal path.node.body.unshift(writeCanyonToLocal) - path.node.body.unshift(injectInPagePopup) + + // TODO: 测试代码 + // path.node.body.unshift(injectInPagePopup) // 必须校验数据完整性