We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1786f84 commit 8f312f1Copy full SHA for 8f312f1
plugin/src/helpers/analysis.ts
@@ -1,8 +1,8 @@
1
import fs from 'fs'
2
-import { relative } from 'path'
3
4
import { extractExportedConstValue, UnsupportedValueError } from 'next/dist/build/analysis/extract-const-value'
5
import { parseModule } from 'next/dist/build/analysis/parse-module'
+import { relative } from 'pathe'
6
7
export interface ApiStandardConfig {
8
type?: never
test/analysis.spec.ts
@@ -1,5 +1,5 @@
import { extractConfigFromFile } from '../plugin/src/helpers/analysis'
-import { resolve } from 'path'
+import { resolve } from 'pathe'
import { getDependenciesOfFile } from '../plugin/src/helpers/files'
describe('static source analysis', () => {
beforeEach(() => {
0 commit comments