Skip to content

Commit a6bd91e

Browse files
authored
Merge pull request #352 from messenjer/feature/build-dts-2
feat: generate dist/BootstrapVue.d.ts and update package.json
2 parents 8fe0ec7 + 6a5075c commit a6bd91e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@
44
"description": "Early (but lovely) implementation of Vue 3, Bootstrap 5 and Typescript",
55
"version": "0.1.10",
66
"license": "MIT",
7-
"main": "dist/bootstrap-vue-3.umd.js",
7+
"main": "./dist/bootstrap-vue-3.umd.js",
88
"module": "./dist/bootstrap-vue-3.es.js",
9+
"exports": {
10+
".": {
11+
"import": "./dist/bootstrap-vue-3.es.js",
12+
"require": "./dist/bootstrap-vue-3.umd.js"
13+
},
14+
"./dist/bootstrap-vue-3.css": "./dist/bootstrap-vue-3.css"
15+
},
916
"files": [
1017
"dist",
1118
"src"
1219
],
20+
"types": "./dist/BootstrapVue.d.ts",
1321
"workspaces": [
1422
"docs/"
1523
],
@@ -31,7 +39,6 @@
3139
"publish": "npm publish --tag develop",
3240
"release": "standard-version"
3341
},
34-
"types": "src/BootstrapVue.d.ts",
3542
"dependencies": {
3643
"core-js": "3.x.x"
3744
},

src/BootstrapVue.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)