1
0
mirror of https://github.com/lancedikson/bowser synced 2025-12-05 06:02:14 +00:00

Add named exports for tree shaking support with Vite

Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-09 18:53:47 +00:00
parent 7e479e91e8
commit 4a0861a02c

View File

@ -75,3 +75,10 @@ class Bowser {
}
export default Bowser;
// Named exports for tree shaking
export const { getParser } = Bowser;
export const { parse } = Bowser;
export {
BROWSER_MAP, ENGINE_MAP, OS_MAP, PLATFORMS_MAP,
};