Comments (2)
This is a problem because the build is transpiled, whereas the index points to various ES6 files. This can be an issue in certain environments.
For example, my project uses Webpack with Uglify, which only handles ES5. When Uglify encounters src/states
, it gets confused by the trailing comma in the exports objects and duly explodes.
from webvr-ui.
In the meanwhile, you can resolve the issue by using a special import path:
import * as webvrui from 'webvr-ui/build/webvr-ui.min'
from webvr-ui.
Related Issues (16)
- Polyfill enter vr bug HOT 5
- Oculus Gear VR browser isn't supported HOT 7
- Update to work with three.js rev86 HOT 3
- A-Frame Can't Enter Fullscreen with Compatible Browser HOT 1
- options.color not applied HOT 1
- iOs 11 : Safari : Broken UI HOT 3
- error when entering fullscreen
- Does not work with Daydream and Galaxy S8
- HTC Vive | Firefox 57 | Split Screen Mode
- Google Cardboard support a bit wrong
- Does not work with latest webvr-polyfill HOT 2
- Google VR Services notification disable?
- Firefox fullscreen doesnt work HOT 3
- support updated WebVR spec
- Latest Firefox nightly wont start presenting HOT 12
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 webvr-ui.