Skip to content

Commit

Permalink
chore: dist/color-hash.js: tsc --module commonjs, fixes #36
Browse files Browse the repository at this point in the history
  • Loading branch information
zenozeng committed Apr 27, 2021
1 parent 84d76a9 commit 1bcf537
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v2.0.1

- chore: dist/color-hash.js: tsc --module commonjs

## v2.0.0

- refactor: rewrite using deno
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ build:
npx tsc --target es2015 --allowJs dist/bundle.js --outDir tmp
cp tmp/bundle.js dist/esm.js
rm -rf tmp
npx tsc --module umd --allowJs dist/bundle.js --outDir tmp
npx tsc --module commonjs --allowJs dist/bundle.js --outDir tmp
cp tmp/bundle.js dist/color-hash.js
rm -rf tmp
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "color-hash",
"version": "2.0.0",
"version": "2.0.1",
"description": "Generate color based on the given string (using HSL color space and SHA256).",
"main": "dist/color-hash.js",
"scripts": {
Expand Down

0 comments on commit 1bcf537

Please sign in to comment.