Skip to content

Commit

Permalink
Add module field to package.json so autosize can be imported as an ES…
Browse files Browse the repository at this point in the history
… Module
  • Loading branch information
jackmoore committed May 17, 2021
1 parent 29ae52e commit aa554fe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Changelog

##### v.5.0.0 - 2021-05-17
* Add module field to package.json so autosize can be imported as an ES Module

##### v.4.0.4 - 2021-05-17
* Revert module field to package.json, will release as major version bump

Expand Down
2 changes: 1 addition & 1 deletion dist/autosize.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
autosize 4.0.4
autosize 5.0.0
license: MIT
http://www.jacklmoore.com/autosize
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/autosize.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "autosize",
"description": "Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.",
"version": "4.0.4",
"version": "5.0.0",
"keywords": [
"textarea",
"form",
Expand All @@ -17,6 +17,7 @@
"email": "[email protected]"
},
"main": "dist/autosize.js",
"module": "src/autosize.js",
"license": "MIT",
"homepage": "http://www.jacklmoore.com/autosize",
"demo": "http://www.jacklmoore.com/autosize",
Expand Down

0 comments on commit aa554fe

Please sign in to comment.