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

cannot use module due to ecma 6 imports #1

Open
potmo opened this issue Sep 5, 2017 · 0 comments
Open

cannot use module due to ecma 6 imports #1

potmo opened this issue Sep 5, 2017 · 0 comments
Assignees

Comments

@potmo
Copy link

potmo commented Sep 5, 2017

I'm getting an error since the module is not transpiled before uploading to npm:

/xxx/node_modules/empfindung/lib/DeltaE.js:10
import { labToLch, validateColorInputs } from './colorUtils';
^^^^^^

SyntaxError: Unexpected token import

It would be nice to be able to use this module without first setting up the entire babel toolchain etc

@kenlimmj kenlimmj self-assigned this Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants