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

Change main file to the building one

This commit is contained in:
Denis Demchenko
2018-07-08 13:21:54 +03:00
parent 5149acc2c5
commit b75dff2b57
2 changed files with 8 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ A Browser detector. Because sometimes, there is no other way, and not even good
# Contents
- [Overview](#overview)
- [Use cases](#use-cases)
- [Advanced usage](#advanced-usage)
- [How can I help?](#contributing)
# Overview
@@ -107,6 +108,12 @@ Thus, you can define OS or platform specific rules and they will have more prior
More of API and possibilities you will find in the `docs` folder.
# Advanced Usage
By default, `require('bowser')` requires the pre-compiled file, which can
include useless for you polyfills. In case you don't need that, you can choose
using source file requiring bowser like that: `require('bowser/src/bowser`);
Then you get ES2015 file, which is not precompiled and can be easier to debug.
# Contributing
If you'd like to contribute a change to bowser, modify the files in `src/`, then run the following (you'll need node + npm installed):