Merge remote-tracking branch 'origin/main' into codex/simplecadapi-2.0.2-integration

This commit is contained in:
Jerry
2026-08-03 11:17:11 +08:00
6 changed files with 239 additions and 0 deletions
+2
View File
@@ -9,6 +9,7 @@ const nextConfig: NextConfig = {
transpilePackages: ["cadjs", "three", "three-mesh-bvh"],
turbopack: {
resolveAlias: {
"@": "./src",
cadjs: "./src/viewer-cadjs",
three: "./node_modules/three",
"three/examples": "./node_modules/three/examples",
@@ -21,6 +22,7 @@ const nextConfig: NextConfig = {
config.resolve = config.resolve || {};
config.resolve.alias = {
...(config.resolve.alias || {}),
"@": path.join(appRoot, "src"),
cadjs: cadJsSrc,
three: path.join(appRoot, "node_modules", "three"),
"three/examples": path.join(appRoot, "node_modules", "three", "examples"),