diff --git a/package-lock.json b/package-lock.json index 610ff1f..21ccc2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "svgtofont": "^6.0.0" }, "bin": { - "gif": "dist/index.js" + "gif": "dist/index.cjs" }, "devDependencies": { "@types/fs-extra": "^11.0.4", diff --git a/package.json b/package.json index 4e0af56..8a5c9f8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "license": "Apache-2.0", "bin": { - "@db-ui/gif": "dist/index.js" + "@db-ui/gif": "dist/index.cjs" }, "main": "index.js", "files": [ @@ -17,7 +17,7 @@ ], "scripts": { "build": "npm-run-all -p build:*", - "build:01_icon_fonts_common": "esbuild src/generate-icon-fonts/cli.ts --bundle --outfile=dist/index.js --platform=node --packages=external", + "build:01_icon_fonts_common": "esbuild src/generate-icon-fonts/cli.ts --bundle --outfile=dist/index.cjs --platform=node --packages=external", "build:02_icon_fonts_styles": "cpr src/generate-icon-fonts/styles dist/styles -o", "build:03_icon_fonts_templates": "cpr src/generate-icon-fonts/templates dist/templates -o", "lint": "eslint src --ext ts",