diff options
Diffstat (limited to 'build/tasks/npmcopy.js')
-rw-r--r-- | build/tasks/npmcopy.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/build/tasks/npmcopy.js b/build/tasks/npmcopy.js index 93c0658b9..91cfae95f 100644 --- a/build/tasks/npmcopy.js +++ b/build/tasks/npmcopy.js @@ -1,9 +1,7 @@ -"use strict"; +import fs from "node:fs/promises"; +import path from "node:path"; -const fs = require( "node:fs/promises" ); -const path = require( "node:path" ); - -const projectDir = path.resolve( __dirname, "..", ".." ); +const projectDir = path.resolve( "." ); const files = { "bootstrap/bootstrap.css": "bootstrap/dist/css/bootstrap.css", |