We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using ember-cli-eyeglass to import an eyeglass-aware package into an Ember project. If the package contains
// eyeglass-exports.js import someSupport from './lib/some-support' export default …
then I get a syntax error on import. It works if I change to
import
// eyeglass-exports.js const someSupport = require('./lib/some-support') module.exports = …
I don't know whether this belongs in eyeglass, babel-eyeglass, ember-cli-eyeglass, or somewhere else.
The text was updated successfully, but these errors were encountered:
We need to change this line to return the result of require or the default property depending on whether it's a module or not.
default
https://github.com/sass-eyeglass/eyeglass/blob/master/packages/eyeglass/src/modules/EyeglassModule.ts#L213
Sorry, something went wrong.
No branches or pull requests
I'm using ember-cli-eyeglass to import an eyeglass-aware package into an Ember project. If the package contains
then I get a syntax error on
import
. It works if I change toI don't know whether this belongs in eyeglass, babel-eyeglass, ember-cli-eyeglass, or somewhere else.
The text was updated successfully, but these errors were encountered: