claude-ws 0.1.4 → 0.1.5
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/next.config.ts +10 -0
- package/package.json +1 -1
package/next.config.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
import type { NextConfig } from "next";
|
|
2
|
+
import path from "path";
|
|
2
3
|
|
|
3
4
|
const nextConfig: NextConfig = {
|
|
5
|
+
// Fix for npx execution: ensure Next.js uses correct root directory
|
|
6
|
+
// This prevents "Missing module type" errors when building from node_modules
|
|
7
|
+
outputFileTracingRoot: path.join(__dirname),
|
|
8
|
+
|
|
9
|
+
// Explicitly set src directory to prevent Next.js from looking in node_modules
|
|
10
|
+
outputFileTracingIncludes: {
|
|
11
|
+
'/': ['./src/**/*'],
|
|
12
|
+
},
|
|
13
|
+
|
|
4
14
|
images: {
|
|
5
15
|
remotePatterns: [
|
|
6
16
|
{
|