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

This commit is contained in:
hehe authored and GitHub committed 2023-03-02 18:01:09 +00:00
1 parent eeb636e81c
commit a61bb4f8bc
4 files changed
+14 -12

No files matched your search

+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);