1 | import isMobile from './';
|
2 |
|
3 | /**
|
4 | * This file is used to generate the browser version of this library.
|
5 | * It is compiled as `isMobile.min.js` into the `dist` directory.
|
6 | *
|
7 | * The `dist` directory is published to NPM so that the compiled file can
|
8 | * can be easily accessed by consumers of the library via the jsDelivr CDN.
|
9 | *
|
10 | * It is meant to be included via a `<script>` tag and will execute
|
11 | * immediately, assigning its result to the `isMobile` global variable.
|
12 | */
|
13 |
|
14 | exports = isMobile();
|