Skip to content

Commit

Permalink
fix: cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaSu committed Jul 19, 2023
1 parent a6dc592 commit 12b7beb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .bin/create_tongji.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ function createScript(token) {
}

const str = createScript(token);
const dist = path.resolve(__dirname, "../dist/assets/js/tj.js");
// const dist = path.resolve(__dirname, "../dist/assets/js/tj.js");
const dist = path.resolve(__dirname, "../docs/.vuepress/dist/assets/js/tj.js");

console.log("统计脚本目录:", dist);

Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
title: "React技术揭秘",
description: "React源码解析",
dest: "dist",
// dest: "dist",
serviceWorker: false,
head: [["script", { src: "/assets/js/tj.js" }]],
configureWebpack: {
Expand Down

0 comments on commit 12b7beb

Please sign in to comment.