Skip to content

Commit

Permalink
chore(precompile): remove find-cache-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Nov 4, 2023
1 parent 6c6ac70 commit 476df3d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
1 change: 0 additions & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@
"domain-browser": "4.19.0",
"edge-runtime": "2.5.4",
"events": "3.3.0",
"find-cache-dir": "3.3.1",
"find-up": "4.1.0",
"fresh": "0.5.2",
"get-orientation": "1.1.2",
Expand Down
8 changes: 0 additions & 8 deletions packages/next/taskfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1297,14 +1297,6 @@ export async function ncc_devalue(task, opts) {
.target('src/compiled/devalue')
}

// eslint-disable-next-line camelcase
externals['find-cache-dir'] = 'next/dist/compiled/find-cache-dir'
export async function ncc_find_cache_dir(task, opts) {
await task
.source(relative(__dirname, require.resolve('find-cache-dir')))
.ncc({ packageName: 'find-cache-dir', externals })
.target('src/compiled/find-cache-dir')
}
// eslint-disable-next-line camelcase
externals['find-up'] = 'next/dist/compiled/find-up'
export async function ncc_find_up(task, opts) {
Expand Down
8 changes: 2 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 476df3d

Please sign in to comment.