Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
build: update output name
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Sep 8, 2023
1 parent 781a25a commit 507e264
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@
"files": [
"dist"
],
"main": "./dist/schemas.mjs",
"main": "./dist/radix-connect-schemas.mjs",
"exports": {
".": {
"import": {
"types": "./dist/schemas.d.ts",
"default": "./dist/schemas.mjs"
"types": "./dist/radix-connect-schemas.d.ts",
"default": "./dist/radix-connect-schemas.mjs"
},
"require": {
"types": "./dist/schemas.d.ts",
"default": "./dist/schemas.umd.js"
"types": "./dist/radix-connect-schemas.d.ts",
"default": "./dist/radix-connect-schemas.umd.js"
}
}
},
"types": "./dist/schemas.d.ts",
"types": "./dist/radix-connect-schemas.d.ts",
"scripts": {
"build": "vite build && npm run build:types",
"build:types": "tsc --project tsconfig.types.json --emitDeclarationOnly",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const { defineConfig } = require('vite')
module.exports = defineConfig({
build: {
lib: {
entry: path.resolve(__dirname, 'src/schemas.ts'),
name: 'schemas',
entry: path.resolve(__dirname, 'src/radix-connect-schemas.ts'),
name: 'radix-connect-schemas',
},
},
})

0 comments on commit 507e264

Please sign in to comment.