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 = []