Skip to content
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

Compatibility with Meteor v2 #50

Closed
pouya-eghbali opened this issue Apr 23, 2021 · 1 comment
Closed

Compatibility with Meteor v2 #50

pouya-eghbali opened this issue Apr 23, 2021 · 1 comment

Comments

@pouya-eghbali
Copy link

I upgraded my project from 1.12.1 to 2.2 and it looks like the upgrade breaks this package.

I investigated the issue and it seems like on 2.2 the Babel.getDefaultOptions call in transpileWithBabel returns options with sourceMaps set to false. Adding a .babelrc or babel.config.json file to the root of the project doesn't solve the issue, as a workaround I added options.sourceMaps = true; under options.filename = path;.

I'm not sure if I'm doing something wrong, are there any babel or meteor configurations that solve this issue or setting the sourceMaps option in the transpileWithBabel file is the way forward?

@rdb
Copy link
Member

rdb commented Jan 23, 2022

Duplicate of #52

@rdb rdb marked this as a duplicate of #52 Jan 23, 2022
@rdb rdb closed this as completed Jan 23, 2022
rdb added a commit that referenced this issue Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants