Skip to content

Commit

Permalink
chore: remove legacy umd and esm JavaScript builds
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Oct 18, 2023
1 parent f3c4efa commit 786a42e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/next-drupal-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"url": "https://twitter.com/shadcn"
},
"scripts": {
"prepare": "microbundle --no-compress --jsx React.createElement",
"dev": "microbundle watch --no-compress --jsx React.createElement",
"prepare": "microbundle --no-compress --jsx React.createElement --format modern,esm,cjs",
"dev": "microbundle watch --no-compress --jsx React.createElement --format modern,esm,cjs",
"test": "jest"
},
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions packages/next-drupal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"src/utils.ts"
],
"main": "dist/index.js",
"module": "dist/index.esm.js",
"module": "dist/index.modern.js",
"exports": {
".": {
"import": {
Expand Down Expand Up @@ -86,9 +86,9 @@
"url": "https://twitter.com/shadcn"
},
"scripts": {
"prepare": "microbundle --no-compress --jsx React.createElement",
"prepare": "microbundle --no-compress --jsx React.createElement --format modern,cjs",
"postprepare": "node postBuild.mjs",
"dev": "microbundle watch --no-compress --jsx React.createElement",
"dev": "microbundle watch --no-compress --jsx React.createElement --format modern,cjs",
"test": "jest",
"prepublishOnly": "yarn prepare"
},
Expand Down

0 comments on commit 786a42e

Please sign in to comment.