Skip to content

Commit

Permalink
fix: Fix commonJS require ES Module bug in webpack4
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkun committed Feb 14, 2019
1 parent 9884ca5 commit 23f9f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "2KB immutable date time library alternative to Moment.js with the same modern API ",
"main": "dayjs.min.js",
"types": "index.d.ts",
"module": "./esm/index.js",
"module": "dayjs.min.js",
"scripts": {
"test": "TZ=Pacific/Auckland npm run test-tz && TZ=Europe/London npm run test-tz && npm run test-tz && jest",
"test-tz": "jest test/timezone.test --coverage=false",
Expand Down

0 comments on commit 23f9f3d

Please sign in to comment.