Skip to content

Commit

Permalink
Fix missing type declaration files
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwalton committed Nov 17, 2020
1 parent 7deb4aa commit 57c5a92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions base.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './dist/modules/index.js';
2 changes: 1 addition & 1 deletion base.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Creates the `web-vitals/base` import in node-based bundlers.
// This will not be needed when export maps are widely suppoprted.
// This will not be needed when export maps are widely supported.
export * from './dist/web-vitals.base.js';
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"description": "Easily measure performance metrics in JavaScript",
"main": "dist/web-vitals.umd.js",
"module": "dist/web-vitals.js",
"typings": "dist/index.d.ts",
"typings": "dist/modules/index.d.ts",
"files": [
"base.js",
"base.d.ts",
"dist",
"src"
],
Expand Down

0 comments on commit 57c5a92

Please sign in to comment.