Skip to content

Commit f9063a8

Browse files
committed
fix(plugin): draco is optional instead of default to false
1 parent 39bcf8b commit f9063a8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libs/plugin/src/generators/gltf/gltf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface GltfGeneratorSchema {
77
output: string;
88
className: string;
99
selectorPrefix: string;
10-
draco: boolean;
10+
draco?: boolean;
1111
bones: boolean;
1212
meta: boolean;
1313
shadows: boolean;

libs/plugin/src/generators/gltf/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@
3636
"draco": {
3737
"type": "boolean",
3838
"description": "Use DracoLoader",
39-
"alias": "d",
40-
"default": false
39+
"alias": "d"
4140
},
4241
"bones": {
4342
"type": "boolean",

0 commit comments

Comments
 (0)