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 9446b21 commit d4f785a
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 @@ -5,7 +5,7 @@
"sideEffects": false,
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"module": "dist/index.modern.js",
"types": "dist/index.d.ts",
"license": "MIT",
"publishConfig": {
Expand All @@ -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,cjs",
"dev": "microbundle watch --no-compress --jsx React.createElement --format modern,cjs",
"test": "jest",
"prepublishOnly": "yarn prepare"
},
Expand Down

0 comments on commit d4f785a

Please sign in to comment.