Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit c31180a

Browse files
committed
fix: fast-glob is common called
1 parent b74e157 commit c31180a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

compiler/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import fg from 'fast-glob';
1+
/* eslint-disable @typescript-eslint/no-var-requires */
22
import path from 'node:path';
33
import fs from 'fs';
44
import { cleanUp } from './clean-up';
55
import { createBuildIn } from '../../src/core/method/create-build-in-helper';
66
import { setBuildIn } from '../../src/core/method/set-build-in-helper';
77
import { globalBuildIn } from '../../src/core/method/global-build-in-helper';
88
import { rootBuildIn } from '../../src/core/method/root-build-in-helper';
9+
const fg = require('fast-glob');
910

1011
(async () => {
1112
cleanUp();

compiler/tsconfig.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
{
22
"compilerOptions": {
3-
"module": "NodeNext",
4-
"moduleResolution": "NodeNext",
5-
"esModuleInterop": true,
6-
"allowSyntheticDefaultImports": true
3+
"module": "NodeNext"
74
}
85
}

0 commit comments

Comments
 (0)