mirror of
https://github.com/tenrok/maska.git
synced 2026-06-17 19:21:21 +03:00
fix(package.json): add typesVersions block into package.json (fix Cannot find module 'maska/vue' or its corresponding type declarations. import { vMaska } from 'maska/vue';)
This commit is contained in:
@@ -45,6 +45,13 @@
|
||||
"require": "./dist/vue.js"
|
||||
}
|
||||
},
|
||||
"typesVersions": {
|
||||
"*": {
|
||||
"vue": ["dist/vue.d.ts"],
|
||||
"alpine": ["dist/alpine.d.ts"],
|
||||
"svelte": ["dist/svelte.d.ts"]
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"docs": "cd docs && http-server",
|
||||
|
||||
Reference in New Issue
Block a user