Skip to content

Commit cf41528

Browse files
authored
Merge branch 'canary' into canary
2 parents 30e441d + 4e1eb08 commit cf41528

File tree

37 files changed

+384
-235
lines changed

37 files changed

+384
-235
lines changed

docs/02-app/01-building-your-application/06-optimizing/06-bundle-analyzer.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,13 @@ pnpm add @next/bundle-analyzer
2424
Then, add the bundle analyzer's settings to your `next.config.js`.
2525

2626
```js filename="next.config.js"
27-
const withBundleAnalyzer = require('@next/bundle-analyzer')({
28-
enabled: process.env.ANALYZE === 'true',
29-
})
30-
3127
/** @type {import('next').NextConfig} */
3228
const nextConfig = {}
3329

34-
module.exports = withBundleAnalyzer(nextConfig)
30+
const withBundleAnalyzer = require('@next/bundle-analyzer')()
31+
32+
module.exports =
33+
process.env.ANALYZE === 'true' ? withBundleAnalyzer(nextConfig) : nextConfig
3534
```
3635

3736
## Analyzing your bundles

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"registry": "https://registry.npmjs.org/"
1717
}
1818
},
19-
"version": "14.3.0-canary.12"
19+
"version": "14.3.0-canary.15"
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@
233233
"taskr": "1.1.0",
234234
"tree-kill": "1.2.2",
235235
"tsec": "0.2.1",
236-
"turbo": "1.13.2",
236+
"turbo": "1.13.3-canary.3",
237237
"typescript": "5.3.3",
238238
"unfetch": "4.2.0",
239239
"wait-port": "0.2.2",

packages/create-next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-next-app",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"keywords": [
55
"react",
66
"next",

packages/eslint-config-next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-next",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"description": "ESLint configuration used by Next.js.",
55
"main": "index.js",
66
"license": "MIT",
@@ -10,7 +10,7 @@
1010
},
1111
"homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config",
1212
"dependencies": {
13-
"@next/eslint-plugin-next": "14.3.0-canary.12",
13+
"@next/eslint-plugin-next": "14.3.0-canary.15",
1414
"@rushstack/eslint-patch": "^1.3.3",
1515
"@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
1616
"eslint-import-resolver-node": "^0.3.6",

packages/eslint-plugin-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/eslint-plugin-next",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"description": "ESLint plugin for Next.js.",
55
"main": "dist/index.js",
66
"license": "MIT",

packages/font/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/font",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"repository": {
55
"url": "vercel/next.js",
66
"directory": "packages/font"

packages/next-bundle-analyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/bundle-analyzer",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"main": "index.js",
55
"types": "index.d.ts",
66
"license": "MIT",

packages/next-codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/codemod",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

packages/next-env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@next/env",
3-
"version": "14.3.0-canary.12",
3+
"version": "14.3.0-canary.15",
44
"keywords": [
55
"react",
66
"next",

0 commit comments

Comments
 (0)