chore: update lint script to include the .mjs (#1267)

This commit is contained in:
hehe
2023-03-03 02:01:09 +08:00
committed by GitHub
parent eeb636e81c
commit a61bb4f8bc
4 changed files with 14 additions and 12 deletions
+6 -4
View File
@@ -1,10 +1,12 @@
// @ts-check
import path from 'node:path';
import debugLocal from 'next-debug-local';
import preset from './preset.config.mjs';
import { createRequire } from 'node:module';
import { getCommitHash, getGitVersion } from './scripts/gitInfo.mjs';
import path from 'node:path';
import { PerfseePlugin } from '@perfsee/webpack';
import debugLocal from 'next-debug-local';
import preset from './preset.config.mjs';
import { getCommitHash, getGitVersion } from './scripts/gitInfo.mjs';
const require = createRequire(import.meta.url);