Skip to content

Commit

Permalink
fix: Add esm loader support (vuelidate#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
Weetbix authored Jun 24, 2022
1 parent 642acba commit a61fe60
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/vuelidate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
"dist",
"index.d.ts"
],
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"./*": "./*"
},
"scripts": {
"build": "bili",
"test:unit": "jest",
Expand Down

0 comments on commit a61fe60

Please sign in to comment.