Skip to content

Commit

Permalink
fix: remove "module" field as a work-around
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Apr 11, 2020
1 parent c7cbea3 commit d5f06ae
Show file tree
Hide file tree
Showing 3 changed files with 572 additions and 478 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"!src/**/__exclude"
],
"main": "dist/index.js",
"module": "dist-esm/index.js",
"types": "dist/index.d.ts",
"sideEffects": [
"./dist-esm/dayjs.full.js"
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.esm.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
// "esModuleInterop": true
},
"exclude": ["**/__exclude", "src/test", "src/**/*.test.*"]
}
Loading

0 comments on commit d5f06ae

Please sign in to comment.