Skip to content

Commit

Permalink
build: remove legacy umd and esm JavaScript builds
Browse files Browse the repository at this point in the history
Fixes #528
  • Loading branch information
JohnAlbin committed Oct 18, 2023
1 parent 9446b21 commit bbce95f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/next-drupal-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"sideEffects": false,
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"module": "dist/index.modern.mjs",
"types": "dist/types.d.ts",
"license": "MIT",
"publishConfig": {
"access": "public"
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"
},
"keywords": [
Expand Down
11 changes: 6 additions & 5 deletions packages/next-drupal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"version": "1.6.0",
"sideEffects": false,
"source": "src/index.ts",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.modern.js",
"types": "dist/types.d.ts",
"license": "MIT",
"publishConfig": {
"access": "public"
Expand All @@ -16,8 +17,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 bbce95f

Please sign in to comment.