-
Notifications
You must be signed in to change notification settings - Fork 46
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
Webpack compatibility #27
Comments
I'm also suffering because of the same problem :( I guess it's related with babel. I tried to make it work by enabling "babel": {
"parserOpts": {
"allowReturnOutsideFunction": true
},
"presets": [
"react",
"es2015",
"stage-0"
],
"plugins": [
"react-hot-loader/babel",
"transform-object-rest-spread"
]
}, Have you find a solution @aleen42? |
I have modified the file |
Same problem here, please merge the pull request |
It seems like the author has given up maintaining this project. |
When building with if (!OggDemuxer) return; is legal in that context. It seems that it is possible to use pre-built files with webpack: webpack/webpack#1617 (comment) Is that a bad workaround? |
@crackofdusk It's not bad, but I don't think it's a elegant way in JavaScript. |
@aleen42 Thanks for the heads up. It's a pity, aurora.js seemed like a really good prospect for a project. But between this and a number of other issues that I encountered I've had to move on. If it's of any use to anybody else here, I was able to make a simple enough replacement relatively quickly with the Audio Context API. |
The following context of Line 7 will cause a problem in projects, using Webpack, because some syntax errors will be checked out by Webpack. As you will see that, your return is calling outside a function, which is unproper. Soon or later, I'll create a pull request for this issue.
The text was updated successfully, but these errors were encountered: