Skip to content

Commit

Permalink
Reproduce @tje's issue
Browse files Browse the repository at this point in the history
  • Loading branch information
boronine committed Jul 25, 2023
1 parent 785ec68 commit f75ee7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ echo "{}" >test/tmp/package.json
(cd test/tmp && npm install "../../assets/${TARBALL}")
(cd test/tmp && node --input-type=module -e 'import {Hsluv} from "hsluv"; console.log("ESM OK")')
(cd test/tmp && node --input-type=commonjs -e 'const {Hsluv} = require("hsluv"); console.log("CommonJS OK")')
(cd test/tmp && echo 'import {Hsluv} from "hsluv";' > test.ts && npx tsc --strict true test.ts && echo "default tsc OK")
(cd test/tmp && echo 'import {Hsluv} from "hsluv";' > test.ts && npx tsc --strict true --module ES2020 --moduleResolution node16 test.ts && echo "node tsc OK")

0 comments on commit f75ee7f

Please sign in to comment.