Comments (2)
It's up to you to transpile it with Babel if you want to use it in the browser. Uglify doesn't support ES2015 syntax.
If you use Webpack, check out babel-engine-plugin
, which transpiles only the dependencies that needs to be transpiled.
If you use Create React App, upgrade to Create React App v2. It supports automatic transpilation of dependencies, which will make this package just work.
from is-online.
Thanks @sindresorhus for your support
from is-online.
Related Issues (20)
- Is it possible to pass URL in config? HOT 8
- Unable to install, 404 Not Found: @szmarczak/http-timer@^1.1.2 HOT 1
- use the is-online prompt requires a loader,but i don't know how to install the loader HOT 1
- Test URL `https://ipv4.icanhazip.com/` is not working. HOT 1
- Problem using is-online behind a proxy HOT 1
- [package.json tags] - consider adding "no" to the tags list
- Connection Refused HOT 1
- Apple captive portal check HOT 2
- Why do you use http protocol for apple's captive website? HOT 4
- Check if network adapter exists in Node.js before trying to connect HOT 1
- isOnline().then giving error that it is not a function after new update 8.5.0 HOT 1
- Client-side scalability across hundreds of devices on same IP address HOT 1
- Critical dependency: the request of a dependency is an expression HOT 1
- How can I emulate the Offline mode? HOT 1
- ~20 seconds just for true or false? HOT 1
- Browser support
- Error in electron HOT 1
- You may need an appropriate loader to handle this file type. HOT 1
- Error: getsockname EBADF HOT 1
- Error [ERR_REQUIRE_ESM]: require() of ES Module node_modules\is-online\index.js not supported. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from is-online.