Skip to content

Commit

Permalink
fix file path
Browse files Browse the repository at this point in the history
  • Loading branch information
aggre committed Sep 5, 2024
1 parent b5e9b05 commit c3983c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ yarn.lock

# build output
bundled
*.d.ts
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"./images": {
"import": "./dist/constants.mjs",
"require": "./dist/constants.js",
"types": "./dist/constants.d.ts"
"types": "./constants.d.ts"
}
},
"types": "dist/index.d.ts",
Expand All @@ -33,7 +33,7 @@
"build:rollup": "rollup -c",
"build:rollup:elements": "rollup -c rollup.config.elements.js",
"watch": "npm run build:rollup:elements -w",
"prebuild": "rimraf dist bundled",
"prebuild": "rimraf dist bundled constants.d.ts",
"lint": "npm run lint:eslint && npm run lint:format",
"lint:eslint": "eslint . --ext .ts,.js --fix",
"lint:format": "prettier --write '**/*.{ts,js,json,md,yml}'",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default [
},
{
input: 'dist/src/constants/index.d.ts',
output: [{ file: 'dist/constants.d.ts', format: 'es' }],
output: [{ file: 'constants.d.ts', format: 'es' }],
plugins: [resolve(), dts()],
},
]

0 comments on commit c3983c2

Please sign in to comment.