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:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user