1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

feat: add named exports for tree shaking support with modern bundlers (#566)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
Co-authored-by: naorpeled <me@naor.dev>
This commit is contained in:
Copilot
2025-11-22 15:15:13 +02:00
committed by GitHub
parent 2b5ee5de8c
commit bd5cb7186c
3 changed files with 75 additions and 1 deletions

View File

@@ -75,3 +75,9 @@ class Bowser {
}
export default Bowser;
export const { getParser } = Bowser;
export const { parse } = Bowser;
export {
BROWSER_MAP, ENGINE_MAP, OS_MAP, PLATFORMS_MAP,
};