From b9cc4ed61f415fe6b6b05e71a26b9f58c5edc5ea Mon Sep 17 00:00:00 2001 From: Shimada666 <649940882@qq.com> Date: Tue, 1 Aug 2023 18:11:20 +0800 Subject: [PATCH] fix: use 'fs' and 'path' instead of 'node:fs' and 'node:path' --- scripts/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/utils.js b/scripts/utils.js index d4bdb98..48f4dfb 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -1,5 +1,7 @@ -const fs = require('node:fs') -const path = require('node:path') +// eslint-disable-next-line unicorn/prefer-node-protocol +const fs = require('fs') +// eslint-disable-next-line unicorn/prefer-node-protocol +const path = require('path') const dir = path.resolve(__dirname, '..', 'dist')