Skip to content

Commit

Permalink
chore(bug): Added missing type Buffer (#40)
Browse files Browse the repository at this point in the history
bug: changed package.json main export to dist folder
  • Loading branch information
benken authored May 3, 2024
1 parent 435acaf commit 3ce474e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"main": "index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./index.js",
".": "./dist/index.js",
"./icon-manifest.json": "./outputs/icon-manifest.json",
"./icons/*": "./outputs/icons/*",
"./png/*": "./outputs/png/*",
"./font/*": "./outputs/font/*",
"./icon-manifest.json": "./outputs/icon-manifest.json",
"./index.css": "./index.css"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions scripts/definitions/scale-that-svg.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
declare module "scale-that-svg" {
import { Buffer } from "buffer";
export function scale(input: string | Buffer, scaleOptions: {}): Promise<string>;
}

0 comments on commit 3ce474e

Please sign in to comment.