Skip to content

Commit

Permalink
fix: three version
Browse files Browse the repository at this point in the history
  • Loading branch information
Ni55aN committed Sep 13, 2023
1 parent 80f1ddf commit 5af30f1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,15 @@ export class Area3D implements Feature {
name = '3D'
mandatory = true
templateKeys: DefaultTemplateKey[] = []
requiredDependencies: string[] = ['three']
requiredDependencies: string[] = []

constructor(typings: boolean, next: boolean) {
if (typings) this.requiredDependencies.push('@types/three')
const version = '0.156'

if (typings) this.requiredDependencies.push(`@types/three@${version}`)
this.requiredDependencies.push(
ver('rete-area-3d-plugin', next)
ver('rete-area-3d-plugin', next),
`three@${version}`
)
}
}
Expand Down

0 comments on commit 5af30f1

Please sign in to comment.