From e48a73a012daf07dc725b33f0ae04e936bbaa11b Mon Sep 17 00:00:00 2001 From: trickstival Date: Tue, 17 Sep 2019 16:49:42 -0300 Subject: [PATCH] chore(tsconfig): added paths mapping between lerna packages Before that, when ctrl clicking the package @posva/vuefire-core inside another package files, it redirected to the dist folder. Now it goes to the src. --- packages/vuexfire/__tests__/options.spec.ts | 2 +- tsconfig.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/vuexfire/__tests__/options.spec.ts b/packages/vuexfire/__tests__/options.spec.ts index 9b139d4a..a02fa0a2 100644 --- a/packages/vuexfire/__tests__/options.spec.ts +++ b/packages/vuexfire/__tests__/options.spec.ts @@ -2,7 +2,7 @@ import Vuex from 'vuex' import { vuexfireMutations, firestoreAction } from '../src' import { db, tick, Vue } from '@posva/vuefire-test-helpers' import { firestore } from 'firebase' -import { FirestoreOptions } from '@posva/vuefire-core/dist/packages/@posva/vuefire-core/src' +import { FirestoreOptions } from '@posva/vuefire-core' Vue.use(Vuex) diff --git a/tsconfig.json b/tsconfig.json index c5688241..79ce9af0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,9 @@ "composite": true, "esModuleInterop": true, "moduleResolution": "node", - + "paths": { + "@posva/*": ["packages/@posva/*/src"] + }, "rootDir": ".", "baseUrl": "." },