Skip to content

Commit

Permalink
chore: adds entrypoint (#398)
Browse files Browse the repository at this point in the history
Fixes `Module not found: Error: Can't resolve 'OAuth2' in '/Users/.../src' [...] Field 'browser' doesn't contain a valid alias configuration` when trying to import this package as an ES module.
  • Loading branch information
spacenate authored Sep 22, 2022
1 parent 611c176 commit cf14956
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
"doc": "jsdoc -c jsdoc.json src/*.js README.md",
"push": "cd src; clasp push",
"test": "mocha"
}
},
"exports": "./dist/OAuth2.gs"
}

0 comments on commit cf14956

Please sign in to comment.