Skip to content

Commit

Permalink
feat: set /react and /vue packages as type: module
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Oct 12, 2021
1 parent 5299d44 commit 6d2578a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

9 changes: 8 additions & 1 deletion package/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
"main": "./cjs/tailwind-mobile-react.js",
"jsnext:main": "./esm/tailwind-mobile-react.js",
"module": "./esm/tailwind-mobile-react.js",
"types": "./tailwind-mobile-react.d.ts"
"types": "./tailwind-mobile-react.d.ts",
"type": "module",
"exports": {
".": {
"import": "./esm/tailwind-mobile-react.js",
"require": "./cjs/tailwind-mobile-react.js"
}
}
}
9 changes: 8 additions & 1 deletion package/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@
"main": "./cjs/tailwind-mobile-vue.js",
"jsnext:main": "./esm/tailwind-mobile-vue.js",
"module": "./esm/tailwind-mobile-vue.js",
"types": "./tailwind-mobile-vue.d.ts"
"types": "./tailwind-mobile-vue.d.ts",
"type": "module",
"exports": {
".": {
"import": "./esm/tailwind-mobile-vue.js",
"require": "./cjs/tailwind-mobile-vue.js"
}
}
}

0 comments on commit 6d2578a

Please sign in to comment.