Skip to content

Commit

Permalink
fix(javascript): allow import from dist (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4060

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Oct 31, 2024
1 parent 495baa1 commit 38ecf7a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
4 changes: 3 additions & 1 deletion packages/algoliasearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
"import": "./dist/lite/builds/browser.js",
"default": "./dist/lite/builds/browser.umd.js"
}
}
},
"./dist/*": "./dist/*.js",
"./dist/lite/builds/*": "./dist/lite/builds/*.js"
},
"jsdelivr": "./dist/algoliasearch.umd.js",
"unpkg": "./dist/algoliasearch.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-abtesting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-insights/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-personalization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-query-suggestions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/client-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/ingestion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/monitoring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/recommend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"default": "./dist/builds/browser.umd.js"
}
},
"./src/*": "./src/*.ts"
"./dist/builds/*": "./dist/builds/*.js"
},
"jsdelivr": "./dist/builds/browser.umd.js",
"unpkg": "./dist/builds/browser.umd.js",
Expand Down

0 comments on commit 38ecf7a

Please sign in to comment.