Skip to content

Commit

Permalink
refactor: let's use esm
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Oct 1, 2024
1 parent c2be0cd commit 5b844bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
},
"license": "Apache-2.0",
"bin": {
"@db-ui/gif": "dist/index.cjs"
"@db-ui/gif": "dist/index.mjs"
},
"main": "index.js",
"main": "dist/index.mjs",
"files": [
"dist/"
],
"scripts": {
"build": "npm-run-all -p build:*",
"build:01_icon_fonts_common": "esbuild src/generate-icon-fonts/cli.ts --bundle --outfile=dist/index.cjs --platform=node --packages=external",
"build:01_icon_fonts_common": "esbuild src/generate-icon-fonts/cli.ts --bundle --outfile=dist/index.mjs --platform=node --packages=external --format=esm",
"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",
Expand Down

0 comments on commit 5b844bf

Please sign in to comment.