Skip to content

Commit

Permalink
update p-queue to 8.0.1, force compilation to CJS
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed May 20, 2024
1 parent 8733948 commit 9798e04
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
"ora": "4.0.4",
"os-browserify": "0.3.0",
"p-limit": "3.1.0",
"p-queue": "6.6.2",
"p-queue": "8.0.1",
"path-browserify": "1.0.1",
"path-to-regexp": "6.1.0",
"picomatch": "4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/src/compiled/p-queue/index.js

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

2 changes: 1 addition & 1 deletion packages/next/taskfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ externals['p-queue'] = 'next/dist/compiled/p-queue'
export async function ncc_p_queue(task, opts) {
await task
.source(relative(__dirname, require.resolve('p-queue')))
.ncc({ packageName: 'p-queue', externals })
.ncc({ packageName: 'p-queue', externals, esm: false })
.target('src/compiled/p-queue')
}

Expand Down
Loading

0 comments on commit 9798e04

Please sign in to comment.