Skip to content

Commit

Permalink
fix(javascript): allow import from dist (#4060)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Oct 31, 2024
1 parent f29dfa7 commit f598e77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/javascript/clients/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 Expand Up @@ -101,7 +101,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

0 comments on commit f598e77

Please sign in to comment.