@djangocfg/nextjs 2.1.32 → 2.1.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ var require_package = __commonJS({
14
14
  "package.json"(exports, module) {
15
15
  module.exports = {
16
16
  name: "@djangocfg/nextjs",
17
- version: "2.1.32",
17
+ version: "2.1.34",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -97,11 +97,13 @@ var require_package = __commonJS({
97
97
  files: [
98
98
  "dist",
99
99
  "src",
100
+ "bin",
100
101
  "README.md",
101
102
  "LICENSE"
102
103
  ],
103
104
  bin: {
104
- "djangocfg-docs": "./dist/ai/cli.mjs"
105
+ "djangocfg-docs": "./dist/ai/cli.mjs",
106
+ "nextjs-dev": "./bin/dev-with-browser.js"
105
107
  },
106
108
  scripts: {
107
109
  build: "tsup",
@@ -113,7 +115,7 @@ var require_package = __commonJS({
113
115
  "ai-docs": "tsx src/ai/cli.ts"
114
116
  },
115
117
  peerDependencies: {
116
- next: "^15.5.9"
118
+ next: "^16.0.10"
117
119
  },
118
120
  dependencies: {
119
121
  "@ducanh2912/next-pwa": "^10.2.9",
@@ -2509,6 +2511,9 @@ function createBaseNextConfig(options = {}) {
2509
2511
  ...options.experimental
2510
2512
  },
2511
2513
  // Webpack configuration
2514
+ // NOTE: Next.js 16 uses Turbopack by default in dev mode, which doesn't support webpack plugins.
2515
+ // DevStartupPlugin only runs in webpack mode (next dev --webpack).
2516
+ // For Turbopack compatibility, consider using a custom dev script for browser auto-open.
2512
2517
  webpack: (config, webpackOptions) => {
2513
2518
  const { isServer, dev } = webpackOptions;
2514
2519
  if (dev && !isServer) {