-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse Error with ES6 importing? #25
Comments
any ideas on why ray-input isn't importing ? |
I'm seeing this as well, while other similar libraries (like webvr-ui) are importing fine. It's not obvious to me what the difference is. :( |
I believe this is because we specify our browserify transforms in the package.json like so in replacement of our npm script calling browserify including any transforms. |
For what it's worth I have that in my own code, and I've tried pasting that into this repo's package.json as well but it didn't help. Renaming the main file to |
ParseError: 'import' and 'export' may appear only with 'sourceType: module'
line 16
***/node_modules/ray-input/src/ray-input.js
import OrientationArmModel from './orientation-arm-model'
^
The text was updated successfully, but these errors were encountered: