From 98c6430d65e6512cc26a08fff2b9e63c591152fa Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 22 Apr 2021 14:09:44 +0200 Subject: [PATCH] tsconfig --- src/meshes/Mesh.ts | 1 + tsconfig.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/meshes/Mesh.ts b/src/meshes/Mesh.ts index 44b441e..a6b0f28 100644 --- a/src/meshes/Mesh.ts +++ b/src/meshes/Mesh.ts @@ -42,6 +42,7 @@ const Mesh = defineComponent({ } }, mounted() { + // TODO : proper ? if (!this.mesh && !this.loading) this.initMesh() }, methods: { diff --git a/tsconfig.json b/tsconfig.json index 6165f54..d196b4a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ // this enables stricter inference for data properties on `this` "strict": true, "moduleResolution": "node", + "sourceMap": true, }, - "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"], - "exclude": [ "node_modules" ] + "include": ["src/**/*.ts", "src/**/*.vue"], + "exclude": ["node_modules", "src/App.vue"] }