-
Notifications
You must be signed in to change notification settings - Fork 6
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
Unexpected reserved word #41
Comments
It's likely caused by not using a transpiler to convert es2015 code into es5. The lib is setup to use babel in tandem with browserify via babelify, so if you use browserify to create a bundle, the transpiling should happen automatically. |
I'm using Meteor which does the transpilation automatically. |
I'm not familiar with how Meteor does its transcompiling or its builds, but it sounds like an issue on Meteor's end. I was able to do the following with no problems:
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _lodash = require('lodash.assign');
var _lodash2 = _interopRequireDefault(_lodash);
...
exports.default = pixabayjs;
It might be that we need to add a |
Hi, |
We can look into doing a prepublish hook that would do that. |
That would be cool :) . |
Could you create new tickets for those? I'm not sure how likely we are to introduce types (but a pull would be welcome!), but it's something that can be discussed. |
When I attemmpt to import pixabay, I get the following error.
The text was updated successfully, but these errors were encountered: