-
Notifications
You must be signed in to change notification settings - Fork 3k
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
rxjs-es modules cannot be compiled with webpack2 & babel6 #1917
Comments
I assume this is somewhat similar to #1575, would you make sure your webpack config correctly configured to transpile modules under |
@kwonoj How Foolish I am . I forgot to remove |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
dependencies version:
rxjs : 5.0.0.beta-11
webpack: 2.1.0-beta.21
babel-core: 6.14.0
Code to reproduce:
.babelrc
:app.js
:Expected behavior:
tree-shaking codes without commonjs and compile them into es5
Actual behavior:
class Observable
still remains. Usingwebpack.optimize.UglifyJsPlugin
will cause an error.However I tried some normal es6 codes with import/export and they had been compiled correctly.
According to #1806 I don't find any
async
word andscheduler
to be used.The text was updated successfully, but these errors were encountered: