Merge remote-tracking branch 'origin/main' into codex/simplecadapi-2.0.2-integration
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user