Redefine exports to use relative paths.

This commit is contained in:
Jonathan Bernard 2022-02-03 13:02:14 -06:00
parent 37d68f024e
commit 73a2c578a5
2 changed files with 7 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@jdbernard/vue-common",
"version": "1.0.3",
"version": "1.0.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@jdbernard/vue-common",
"version": "1.0.3",
"version": "1.0.4",
"description": "Extra stuff I always use when building Vue applications.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -9,11 +9,11 @@
],
"exports": {
".": "./dist/index.js",
"injector": "./dist/injector.js",
"sorting": "./dist/sorting.js",
"state": "./dist/state.js",
"toast.service": "./dist/toast.service.js",
"util": "./dist/util.js"
"./injector": "./dist/injector.js",
"./sorting": "./dist/sorting.js",
"./state": "./dist/state.js",
"./toast.service": "./dist/toast.service.js",
"./util": "./dist/util.js"
},
"scripts": {
"build": "tsc --build tsconfig.json && cp -r src/components dist/.",