-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Nested imports not working anymore with v1.4.4.1 #8595
Comments
After updating I'm getting "SyntaxError: Unexpected reserved word" error too, referring to the word
I have so many Please fix this as soon as possible. Thank you. |
Are either of you using |
No, I don't use The error appears at a final stage of build even when I create a skeleton app using |
I'm using Windows 10 platform, in case that may be relevant. |
Posting this forum post here about the same topic: https://forums.meteor.com/t/did-meteor-1-4-4-remove-conditional-imports/35621 (no reproduction, unfortunately, but they are using a |
I don't use |
This should be fixed if you update the |
Fixed ! Thanks. |
It is now indeed fixed. Thank you Ben. |
Hello,
Nested imports in my app do not work anymore with new version 1.4.4.1 (everything was ok with 1.4.3.2).
.
When I try to run my app, I get this error:
W20170413-16:24:50.671(2)? (STDERR) D:\todo\.meteor\local\build\programs\server\app\app.js:3029 W20170413-16:24:50.848(2)? (STDERR) import { mailError } from '/server/mailing.js'; W20170413-16:24:50.851(2)? (STDERR) ^^^^^^ W20170413-16:24:50.853(2)? (STDERR) W20170413-16:24:50.855(2)? (STDERR) SyntaxError: Unexpected reserved word
The source code is something like:
export const myFunction= function(arg) { // ... const res = otherFunction(); // ... if (arg == res) { import { mailError } from '/server/mailing.js'; mailError("Error !"); } // ... };
Thanks for your help.
The text was updated successfully, but these errors were encountered: