From 0e55453f3daac73fed7cbd9eb13ae2dca4617ddf Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Thu, 1 Jun 2023 23:34:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plop-templates/component/prompt.js | 2 +- plop-templates/page/prompt.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plop-templates/component/prompt.js b/plop-templates/component/prompt.js index 2b42bd28..44204df5 100644 --- a/plop-templates/component/prompt.js +++ b/plop-templates/component/prompt.js @@ -1,4 +1,4 @@ -const fs = require('fs') +const fs = require('node:fs') function getFolder(path) { const components = [] diff --git a/plop-templates/page/prompt.js b/plop-templates/page/prompt.js index 83410eec..b84ea3a6 100644 --- a/plop-templates/page/prompt.js +++ b/plop-templates/page/prompt.js @@ -1,5 +1,5 @@ -const path = require('path') -const fs = require('fs') +const path = require('node:path') +const fs = require('node:fs') function getFolder(path) { const components = []