Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
bchelkowski committed Oct 16, 2023
1 parent 613c588 commit f20d48b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "../tsconfig",
"compilerOptions": {
"module": "NodeNext",
"module": "ESNext",
"outDir": "../dist/esm"
},
"exclude": [
Expand Down
7 changes: 5 additions & 2 deletions tools/cleanup.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
const fs = require('fs');
const Path = require('path');
import fs from 'fs';
import Path, { dirname } from 'path';
import { fileURLToPath } from 'url';

const __dirname = dirname(fileURLToPath(import.meta.url));

const deleteFolderRecursive = (path) => {
if (fs.existsSync(path)) {
Expand Down

0 comments on commit f20d48b

Please sign in to comment.